Is there a way to "unwatch" a removed directory?
Opened this issue · 5 comments
mauricioabreu commented
I am facing a problem where a directory is removed.
Example:
notify.Watch("/foo/...", events...)
A path inside foo is removed once in a while (I can't control it). How can I unwatch that removed directory? I tried to rewatch it using the Watch function but it did not work.
The underlying watcher is inotify
vivek-bansal-VB commented
Did you solve this issue? I am facing the same problem.
vivek-bansal-VB commented
Had you been able to resolve this issue?
mauricioabreu commented
@vivek-bansal-VB sorry for the delay.
No, I did not solve the problem.
vivek-bansal-VB commented
@mauricioabreu Thanks for the reply!
ior308 commented
Dear I'm looking for the same feature. Can I unwatch one of many paths I put with notify.watch ?
Regards