Runs arbitrary commands if files specified to be watched change.
Project description
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.
Changes in 0.2
Fixed missing os import in setup.py
Changes in 0.1
Initial release of python module
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywatch-0.1.tar.gz
(3.1 kB
view hashes)