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 following options are supported by filewatcherd
:
-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 watchtag
changes before reloading it.