0 purchases
reloadcmd 0.9.0
=========reloadcmd=========Re-executes program when files are changed, moved or deletedUsage=====usage: monitor [-h] [-d DEBUG] [-p PATH] [-e [FILE_EXT [FILE_EXT ...]]] -c COMMANDRestarts process when any files / directory changesoptional 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"``Dependencies============* `watchdog <https://pypi.python.org/pypi/watchdog>`* `coloredlogs <https://pypi.python.org/pypi/coloredlogs>`
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.