()
| 444 | } |
| 445 | |
| 446 | private stopWatching(): void { |
| 447 | for (const path of this.watchedPaths) { |
| 448 | unwatchFile(path) |
| 449 | } |
| 450 | this.watchedPaths = [] |
| 451 | this.branchRefPath = null |
| 452 | } |
| 453 | |
| 454 | /** |
| 455 | * Get a cached value by key. On first call for a key, computes and caches it. |