pywatchRuns arbitrary commands if files specified to be watched change | |
Download |
pywatch Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Chris Heisel
- Publisher web site:
- http://github.com/cmheisel/
pywatch Tags
pywatch Description
Runs arbitrary commands if files specified to be watched change pywatch is a Python module and a com?mand-line client that allow you to run arbi?trary shell com?mands when?ever changes occur in a list of spec?i?fied files.A python clone (almost) of the Linux watch command.The pywatch.watcher.Watcher class can be told to watch a set of files, and given a set of commands to run whenever any of those files change.It was inspired by Ruby's ZenTest, but while it can be used for testing, pywatch is intended to run any command when files change... test runners or otherwise.See pywatch.autotest for an example of a continously running watch-and-runner.pywatch usageUsage: pywatch "command" file1 file2 ...Options: -h, --help show this help message and exit -v, --verbose Output timestamp when commands are run. Requirements: · Python What's New in This Release: · Directories are now walked recursively and all files are added and watched.
pywatch Related Software