Skip to content

File system watcher should skip ignored directories in more cases #9339

Closed

Description

@calmh

Currently the file system watcher will skip watching ignored directories in trivial cases:

/foo

However, as soon as there is something "tricky" like an exclude pattern, it doesn't:

/foo
!bar

(/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.

Activity

  1. added
    enhancement
    needs-triage
    on Jan 12, 2024
  2. added this to the v1.27.4 milestone on Jan 22, 2024
  3. added a commit that references this issue on Jan 28, 2024
    3297624
  4. added a commit that references this issue on Feb 2, 2024
    84f6ae5
  5. added 2 commits that reference this issue on Jul 7, 2024
    685d17e
    199e176
  6. added
    frozen-due-to-age
    on Apr 9, 2025
  7. locked and limited conversation to collaborators on Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions