* Resolves once the file watcher has installed its watch set. Useful for * tests that need a deterministic boundary before asserting on * `getPendingFiles()`. Resolves immediately when no watcher is active.
(timeoutMs?: number)
| 1065 | * `getPendingFiles()`. Resolves immediately when no watcher is active. |
| 1066 | */ |
| 1067 | waitUntilWatcherReady(timeoutMs?: number): Promise<void> { |
| 1068 | return this.watcher ? this.watcher.waitUntilReady(timeoutMs) : Promise.resolve(); |
| 1069 | } |
| 1070 | |
| 1071 | /** |
| 1072 | * Get files that have changed since last index |
no test coverage detected