skip to navigation
skip to content

reloadcmd 0.9.0

Reload command on file changed


Re-executes program when files are changed, moved or deleted

usage: monitor [-h] [-d DEBUG] [-p PATH] [-e [FILE_EXT [FILE_EXT ...]]] -c

Restarts process when any files / directory changes

optional arguments:
-h, --help show this help message and exit
-d DEBUG, --debug DEBUG
Debug mode
-p PATH, --path PATH Which directory to watch for changes
-e [FILE_EXT [FILE_EXT ...]], --extension [FILE_EXT [FILE_EXT ...]]
Which file extensions to listen for
-c COMMAND, --command COMMAND
Command to be executed

``$ reloadcmd --command "while [ 1 -eq 1 ]; do echo 2; sleep 1; done"``

* `watchdog <https:"" pypi="" watchdog="">`
* `coloredlogs <https:"" pypi="" coloredlogs="">`  
File Type Py Version Uploaded on Size
reloadcmd-0.9.0-py2.7.egg (md5) Python Egg 2.7 2016-01-16 7KB
reloadcmd-0.9.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-01-16 5KB
reloadcmd-0.9.0.tar.gz (md5) Source 2016-01-16 2KB