A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
inotifywait will distinguish between files and directories modified by having a trailing slash if it's a directory. Can we have the same behaviour in fswatch?
I need it for some code that behaves differently depending on if a file or directory is changed.
inotifywait
will distinguish between files and directories modified by having a trailing slash if it's a directory. Can we have the same behaviour infswatch
?I need it for some code that behaves differently depending on if a file or directory is changed.