paulmillr / chokidar

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

Consider deduping entries passed to watch() #1295

Closed wojtekmaj closed 2 months ago

wojtekmaj commented 8 months ago

Following the discussion:

https://github.com/vitejs/vite/pull/15347

I would like to ask you to consider deduping entries passed to watch() in chokidar itself. As discovered in the PR linked above, this results in significant performance improvement which we may "automatically" bring to all projects using chokidar.

What do you think?

Thanks!