Add example that uses --; closes #28

This commit is contained in:
Matt Green 2016-12-14 19:45:31 -05:00
parent 8797b35926
commit ef37a9fb97
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ Call `make test` when any file changes in this directory/subdirectory, except fo
$ watchexec -i target make test
Call `ls -la` when any file changes in this directory/subdirectory:
$ watchexec -- ls -la
Call/restart `python server.py` when any Python file in the current directory (and all subdirectories) changes:
$ watchexec -e py -r python server.py