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 2b40c96
Browse filesBrowse the repository at this point in the historyBrowse files
fix(watch): purge what a rebuild stops watching (#22646)
* fix(watch): purge what a rebuild stops watching
The input file system cache is purged only for the paths the watcher
reports, and a change to a path nobody watches is never reported. So a
file edited, deleted or created while unwatched, or a directory a loader
lists, was read stale for up to 60 s once a rebuild used it again. Each
watch call now purges the files, directories and missing paths the
previous call watched and this one does not, in one exact purge.
Co-authored-by: aryanraj45 <[email protected]>
* fix(watch): purge the input cache when watching closes
A change made while no watcher runs is never reported, so a watch started again within 60 s built from cached content.
---------
Co-authored-by: aryanraj45 <[email protected]>
0 commit comments