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
{{ message }}
Repository navigation
Commit bb2680f
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix: watch future glob matches without mutating options (#5800)
* fix: watch future glob matches without mutating options
Co-authored-by: Oskar Eichler <62393985+OskarEichler@users.noreply.github.com>
* fix: batch glob rescans and defer pre-ready unwatch in watchFiles
Paths no glob matched are now re-checked in one rescan per burst of adds
instead of one synchronous rescan each, and adds reported before ready
wait for the rescan that follows the initial scan, so they are no longer
unwatched against stale matches. Tests use the public ready event.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FhutSnStkMpV2mZSNb8M9
* fix: do not unwatch pending paths that were removed
unwatch() keeps a path in chokidar's ignored set, so a matching file
removed before the batch re-check would stay ignored once recreated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FhutSnStkMpV2mZSNb8M9
---------
Co-authored-by: Oskar Eichler <62393985+OskarEichler@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments