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.
When I compiled it I had to remove references to FILE_TRUNC in fen_monitor.cpp as the compiler didn't seem to know where they were defined. Not sure how relevant this is but on a test fswatch crashed once on Solaris when copying files.
When I compiled it I had to remove references to FILE_TRUNC in fen_monitor.cpp as the compiler didn't seem to know where they were defined. Not sure how relevant this is but on a test fswatch crashed once on Solaris when copying files.
see https://github.com/emcrisostomo/fswatch/issues/228