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
There's currently no clean way to do this. The inotify API only generates events for files, so fsniper would need to implement a layer on top of that to return directory events.
You can achieve the same effect right now by recursively watching a directory for events. The corresponding handler will be called any time a file in the directory changes. With that approach you may want to implement a lock or delay in the handler, because mass file updates will cause the handler to run many times in a short period of time.
Can I use fsniper to act against a directory rather than a file? How?
The text was updated successfully, but these errors were encountered: