watcher/README.md

12 lines
284 B
Markdown
Raw Permalink Normal View History

2013-10-06 12:15:44 +00:00
# Watcher
This is a simple script with watch for file modification and execute a
command when this occurs.
Examples:
watch ./gen fic1 fic2 dir1
2013-10-06 13:09:59 +00:00
This will watch for changes on `fic1`, `fic2` and any file in the tree `dir1`.
If `dir1/foo` changes, `./gen dir1/foo` is executed.