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
Remove dead shouldIgnoreEvent filter from file watcher
shouldIgnoreEvent always returned false for any event that reached it:
- extension_folder_* events short-circuited at the first line.
- The literal-list check (watchPaths.some(matchGlob)) was always true, because pushEvent was only ever called for paths that came from extensionWatchedFiles, which is itself built from watchedFiles().
- The else-if gitignore branch was unreachable: watchedFiles() always returns a (possibly empty) array, so watchPaths is always truthy.
Filtering for unknown paths happens earlier in handleFileEvent's 'not watched by any extension' early return; shouldIgnoreEvent was never doing real work.
Deletes the method, the `ignored` field and createIgnoreInstance helper, the extension_folder_created branch in pushEvent (its only job was to populate `ignored`), the updateApp ignore-population, and the dynamic-map short-circuit added in the parent PR (now redundant).
0 commit comments