fix(watchers): the two review items of #818

The fs.watch failure tests skip on macOS, where chokidar 3 never calls
fs.watch for these watchers (fsevents, or polling without it), so the stub
never fired and the waits timed out. TeamWatcher.stop() clears its outage
set, so a stop() and start() on the same instance warns again about a
watcher that still fails; a new test pins it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-11-20 04:02:07 +01:00
1 parent 6222444e82
commit 8202e07286
2 files changed
+32 -3

No files matched your search

+1
View File
@@ -137,6 +137,7 @@ export class TeamWatcher extends EventEmitter {
this.taskMtimes.clear();
this.inboxMtimes.clear();
this.sessionToTeam.clear();
this.watchersDown.clear();
}
/** Get all discovered teams */