Git Product home page Git Product logo

pywatch's Introduction

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

pywatch's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.