Watchful is a simple file system watching library written in C. It uses inotify on Linux systems and FSEvents on macOS.
Watchful supports creating watches on directories. In addition, a user can set a path to ignore (using wildmatch patterns).
The library also includes a wrapper written in Janet.
Watchful is supported on Linux and macOS. Windows is not yet supported.
Found a bug? I'd love to know about it. The best way is to report your bug in the Issues section on GitHub.
Watchful is licensed under the MIT Licence. See LICENSE for more details.