File system watcher should skip ignored directories in more cases #9339
Labels
enhancement
New features or improvements of some kind, as opposed to a problem (bug)
needs-triage
New issues needed to be validated
Milestone
Currently the file system watcher will skip watching ignored directories in trivial cases:
However, as soon as there is something "tricky" like an exclude pattern, it doesn't:
(
/foo
is no longer skipped, because in the mind of the ignore matcher, we might find unignored stuff underneath it...)However there are a bunch of simple cases like above where we can safely say that anything under
/foo
must be ignored, because any other patterns come later in the file and will never be processed.The text was updated successfully, but these errors were encountered: