* 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)
| 2222 | * `getPendingFiles()`. Resolves immediately when no watcher is active. |
| 2223 | */ |
| 2224 | waitUntilWatcherReady(timeoutMs?: number): Promise<void> { |
| 2225 | return this.watcher ? this.watcher.waitUntilReady(timeoutMs) : Promise.resolve(); |
| 2226 | } |
| 2227 | |
| 2228 | /** |
| 2229 | * Get files that have changed since last index |
no test coverage detected