public
Description: Runs an arbitrary command if files specified to be watched change. It's good for automatically running unit tests when your code changes, similar to Ruby's ZenTest.
Homepage:
Clone URL: git://github.com/cmheisel/pywatch.git
name age message
file .gitignore Wed Jun 17 18:15:19 -0700 2009 Added ignore file [cmheisel]
file LICENSE Sat Jun 13 07:58:25 -0700 2009 Adding start of packaging [cmheisel]
file README Sun Aug 09 19:18:58 -0700 2009 Upping version to 0.4 and updating changelog. [cmheisel]
file TODO.txt Wed Jun 17 18:18:01 -0700 2009 Added pywatch command to setup.py [cmheisel]
file bootstrap.py Sat Jun 13 07:58:25 -0700 2009 Adding start of packaging [cmheisel]
file buildout.cfg Sat Jun 13 08:21:10 -0700 2009 Got test runner up [cmheisel]
directory scripts/ Wed Jun 17 18:05:36 -0700 2009 Added command line client [cmheisel]
file setup.py Sun Aug 09 19:18:58 -0700 2009 Upping version to 0.4 and updating changelog. [cmheisel]
directory src/ Sun Aug 09 19:18:58 -0700 2009 Upping version to 0.4 and updating changelog. [cmheisel]
README
pywatch
=======
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 usage
-------------
Usage: pywatch [options] "command" file1 file2 ...

Options:
  -h, --help     show this help message and exit
  -v, --verbose  Output timestamp when commands are run.
  --version      Output version number and exit

Changelog
---------
0.4
~~~
* Directories are now walked recursively and all files are added and watched

0.3.2
~~~~~
* Added --version

0.3.1
~~~~~
* Changed setup.py to include proper url
* Added error catching for os.stat calls 
* pywatch with no args displays usage

0.3
~~~
* Added pywatch command line client

0.2
~~~
* Fixed missing os import in setup.py

0.1
~~~
* Initial release of python module