fswatch

1mos agoupdate 2 0 0

A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsof...

Collection time:
2025-09-29
fswatchfswatch

fswatch is a file change monitor that receives notifications when the contents of the specified files or directories are modified. fswatch implements several monitors:A monitor based on the File System Events API of Apple macOS.A monitor based on kqueue, a notification interface introduced in FreeBSD 4.1 (and supported on most *BSD systems, including macOS).A monitor based on the File Events Notification API of the Solaris kernel and its derivatives.A monitor based on inotify, a Linux kernel subsystem that reports file system changes to applications.A monitor based on ReadDirectoryChangesW, a Microsoft Windows API that reports changes to a directory.A monitor which periodically stats the file system, saves file modification times in memory, and manually calculates file system changes (which works anywhere stat (2) can be used).fswatch should build and work correctly on any system shipping either of the aforementioned APIs.

data statistics

Relevant Navigation