filewatcherd
— run
commands in response to file changes
filewatcherd |
[-dh ] [-w
delay_ms] watchtab |
filewatcherd
is a daemon inspired by cron,
that run commands based on file changes instead of time. In principle it is
similar to incron, but it's simpler, more limited, and does not depend on
anything outside of FreeBSD base.
watchtab describes which paths and what
events to watch, and commands to run when triggered.
The options are as follows:
-d
,
--foreground
- Don't fork to background and log to stderr.
-h
,
--help
- Display help text.
-w
delay_ms, --wait
delay_ms
- Wait that number of milliseconds after watchtab
changes before reloading it.
filewatcherd
has been mostly developed and
is maintained by Natasha "Kerensikova"
Porte.