()
| 175 | } |
| 176 | |
| 177 | function dispose(): void { |
| 178 | if (watcher) { |
| 179 | void watcher.close() |
| 180 | watcher = null |
| 181 | } |
| 182 | dynamicWatchPaths = [] |
| 183 | dynamicWatchPathsSorted = [] |
| 184 | initialized = false |
| 185 | hasEnvHooks = false |
| 186 | notifyCallback = null |
| 187 | } |
| 188 | |
| 189 | export function resetFileChangedWatcherForTesting(): void { |
| 190 | dispose() |
no test coverage detected