pywatch for Linux Publisher's description
from Jasper Op de Coul
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.
Usage: pywatch [options] "command" file1 file2 ...
-h, --help show this help message and exit
-v, --verbose Output timestamp when commands are run.
What's New in This Release:В· Changed setup.py to include proper url
В· Added error catching for os.stat calls
В· pywatch with no args displays usage
System Requirements:В· Python
Program Release Status:
Program Install Support: Install and Uninstall