macOS: file watcher does not ignore files/folders starting with "." #57263
Closed
Description
- OS Version: macOS
Steps to Reproduce:
- start
code --verbose
to see logs for file watcher - ensure you have the default
files.watcherExclude
setting that ignoresnode_modules
- 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 ".
".