better example
This commit is contained in:
parent
723870185d
commit
2aa9a34bec
|
@ -6,4 +6,6 @@ command when this occurs.
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
watch ./gen fic1 fic2 dir1
|
watch ./gen fic1 fic2 dir1
|
||||||
watch "echo 'This file changed:' " dir1 dir2
|
|
||||||
|
This will watch for changes on `fic1`, `fic2` and any file in the tree `dir1`.
|
||||||
|
If `dir1/foo` changes, `./gen dir1/foo` is executed.
|
||||||
|
|
Loading…
Reference in a new issue