Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thoughts around watch.unwatchTree()? #5

Closed
indexzero opened this issue May 3, 2011 · 4 comments
Closed

Thoughts around watch.unwatchTree()? #5

indexzero opened this issue May 3, 2011 · 4 comments

Comments

@indexzero
Copy link

If you use .watchTree() in a given process, will those file watchers prevent the process from exiting otherwise? If so, it would probably be a good idea to have an unwatchTree() method which checks if the directory tree is being watched and then removes the listeners using fs.unwatchFile(filename)

@seriousManual
Copy link

still no reaction, don't think this will ever happen... :(

@krisnye
Copy link

krisnye commented Feb 6, 2013

He won't do it, so I wrote my own compatible directory watcher that lets you unwatch:

https://github.com/krisnye/watchdirectory

@seriousManual
Copy link

👍 thx

@finnp
Copy link
Collaborator

finnp commented Dec 19, 2015

Implemented a while back.

@finnp finnp closed this as completed Dec 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants