mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-28 22:21:33 +02:00
Add example that uses --; closes #28
This commit is contained in:
parent
8797b35926
commit
ef37a9fb97
@ -46,6 +46,10 @@ Call `make test` when any file changes in this directory/subdirectory, except fo
|
|||||||
|
|
||||||
$ watchexec -i target make test
|
$ 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:
|
Call/restart `python server.py` when any Python file in the current directory (and all subdirectories) changes:
|
||||||
|
|
||||||
$ watchexec -e py -r python server.py
|
$ watchexec -e py -r python server.py
|
||||||
|
Loading…
Reference in New Issue
Block a user