* Stop watching for file changes.
()
| 2138 | * Stop watching for file changes. |
| 2139 | */ |
| 2140 | unwatch(): void { |
| 2141 | if (this.watcher) { |
| 2142 | this.watcher.stop(); |
| 2143 | this.watcher = null; |
| 2144 | } |
| 2145 | if (this.builtOrchestrator) this.builtOrchestrator.setKeepDetectionContents(false); |
| 2146 | } |
| 2147 | |
| 2148 | /** |
| 2149 | * Check if the file watcher is active. |
no test coverage detected