You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(project): Await file-watcher readiness in BuildServer
The BuildServer constructor used to fire `watchHandler.watch(...)` without
awaiting it, so `graph.serve()` could return before chokidar had fully
initialised. Source-file changes made immediately afterwards were silently
dropped, which surfaced as flaky cache-mode integration tests on Windows
where chokidar's ReadDirectoryChangesW backend has noticeably higher
startup latency than inotify/FSEvents.
Move watcher setup into a `BuildServer.create()` static factory that
awaits readiness, and update `ProjectGraph.serve()` to use it.
0 commit comments