Skip to content

macOS: file watcher does not ignore files/folders starting with "." #57263

Closed
@bpasero

Description

  • OS Version: macOS

Steps to Reproduce:

  1. start code --verbose to see logs for file watcher
  2. ensure you have the default files.watcherExclude setting that ignores node_modules
  3. run npm install

=> 🐛 there are tons of file events showing up for node_modules/.staging

Fix is to tell anymatch in chokidar to set the { dot: true } option such as ** matches on any file/folder with leading ".".

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfile-watcherFile watcherverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions