0.0.3 • Published 13 years ago
reload-cli v0.0.3
Reload CLI: A command to reload your command when file changes.
Installation
npm install -g reload-cli
echo complete -o filenames -F _root_command reload >> ~/.bashrcYou may need sudo to run npm.
The second line is to make auto-completion work.
Usage
reload python script.py b.pyFor example, you want to run python file.py b.py frequently
to see the result, as you write the script.
reload will read the paramaters as ['script.py', 'b.py'],
if the paramater points to a file, reload will watch it.
Then, the command restarts when file changes are caught.