skip to navigation
skip to content

pywatch 0.3

Runs arbitrary commands if files specified to be watched change.

Latest Version: 0.4

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.

Changelog

0.3

  • Added pywatch command line client

0.2

  • Fixed missing os import in setup.py

0.1

  • Initial release of python module
File Type Py Version Uploaded on Size # downloads
pywatch-0.3.tar.gz (md5) Source 2009-06-20 17:49:41.418929 3KB 53

Log in to rate this package.