Hi, I would like to import textproc/fswatch (instead of having it in mystuff), a program and library to monitor file changes in cross-platform way (it is using kqueue on OpenBSD).
I am using it with a build system (dune, for ocaml) which could using it for monitor and rebuild files (I am using dune directly from opam and not from devel/dune). $ cat pkg/DESCR fswatch main features are: - Support for many OS-specific APIs such as kevent, inotify, and FSEvents. - Recursive directory monitoring. - Path filtering using including and excluding regular expressions. - Customizable record format. - Support for periodic idle events. Limitations: The kqueue monitor, available on any *BSD system featuring kqueue, requires a file descriptor to be opened for every file being watched. As a result, this monitor scales badly with the number of files being observed, and may begin to misbehave as soon as the fswatch process runs out of file descriptors. In this case, fswatch dumps one error on standard error for every file that cannot be opened. Comments or OK to import ? -- Sebastien Marie
fswatch.tgz
Description: Binary data