-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Recursively watch newly created directories #1
Comments
Hi! So sorry it took so long to get back to you. For whatever reason I was not notified of this issue. My apologies. Anyways, I think I've already done what you're talking about. If you look at the example in example/example.go, you can see that can react on events. e..g:
Is this what you're thinking of? This would add watches for directories when they're created under the root, and delete them when removed. Again, my apologies for the super late reply. I'm gonna go fix my notifications, and I will be sure to check back in case you, or anyone else has any questions. |
With AddDescriptor only the Watcher Event is not started .
|
@AxelWalsleben is right, I should read my own code. Using If I remember correctly (it's been a while), I did this because I was getting some really weird events that didn't seem to be valid when starting a lot of descriptors at once. |
Hi! Do you plan to support recursive watching of directories that are added after the root watch has started? And then, conversely, removing watchers when directories are deleted? Thanks!
The text was updated successfully, but these errors were encountered: