Axosoft / nsfw

A super fast and scaleable file watcher that provides a consistent interface on Linux, OSX and Windows
MIT License
901 stars 113 forks source link

How to ignore certain subdirectories? #54

Open steelbrain opened 6 years ago

steelbrain commented 6 years ago

I am using this package to watch a Node.js project which has some 50k files in node_modules. I haven't been able to find an ignore or exclude parameter in the documentation.

Any ideas how to ignore node_modules or some other dir in subdirs?

Cheers

implausible commented 6 years ago

At the moment there is no ignore/exclude parameter in the documentation. Help is wanted for this feature!

amio commented 5 years ago

@implausible Is it just missing in document or it's not supported yet?

TooTallNate commented 5 years ago

@implausible We are in need of this feature as well. Could you provide some guidance as to how it should be implemented? Does it need to be implemented natively and per-platform? Or would it make sense to do it at the JS level?

paul-marechal commented 3 years ago

Are maintainers interested with this feature? I implemented a prototype on our fork (linux only). I am not able to contribute to this repository at the moment, but my work still could be a fire starter. Any opinions?