You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that by default, Java's watch service won't register directories under a path recursively, but how would I go about doing that with this library?
The text was updated successfully, but these errors were encountered:
Just to be a little more clear, it's part of a category of useful functionality that I intend to add, namely "multiple watchers". I have not implemented multiple watchers yet because I did not need it for my specific use case. It's trivial except for how it changes the work-queue code, which involves some design decisions I will want to consider in more detail.
I think the recursive case should actually just be an option (like parallel mode), and when it is selected, watchers are defined internally for each subdirectory.
Yeah, I'm with you on that. I was using Java's WatchService to write a similar library and was hoping someone had a clean way to handle it. I was stumbling on whether I wanted to differentiate between setup and runtime directory registration, since I would have to register directories created as they are evented in addition to walking the tree at startup.
I know that by default, Java's watch service won't register directories under a path recursively, but how would I go about doing that with this library?
The text was updated successfully, but these errors were encountered: