paulmillr / chokidar

Minimal and efficient cross-platform file watching library
https://paulmillr.com
MIT License
11.04k stars 586 forks source link

Fallback paths shouldn't be ignoreable #1374

Open aleclarson opened 1 month ago

aleclarson commented 1 month ago

If I watch a file that doesn't exist, its parent directory is watched instead. What's unintuitive is that my ignored patterns need to account for this. If the missing file passed the ignored check, its parent directory should automatically pass, so that the complexity of my ignored patterns is kept to a minimum.

• Chokidar 4.0.1