On 2024/10/03 15:18, Sebastien Marie wrote:
> 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).

textproc doesn't feel quite right - what do you think about sysutils
(where it will be alongside sysutils/entr which does a similar thing)?

> 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:

Maybe start with a tiny description like

fswatch monitora files and directory trees for changes. Main features are:

otherwise ok with me.

> 
> - 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


Reply via email to