paulmillr / chokidar

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

(WIP) feat: ignore watches by file ext #1274

Closed pahan35 closed 2 days ago

pahan35 commented 1 year ago

Progress

Description

PoC for ignoring watched files by the extension.

Why?

ATM, there is no option to ignore file watches by file extension. Consequently, other third-party utils implement some extra checks to ignore updates from the unnecessary watches.

Also, it may help with improving performance on #1162.