Summary
Agile development tool that monitors a directory tree, and triggers a user defined action whenever an observed file is modified. Its most typical use is continuous testing, and as such it is a more flexible alternative to autotest.
Features
watchr is:
- Simple to use
- Highly flexible
- Evented ( Listens for filesystem events with native c libs )
- Portable ( Linux, *BSD, OSX, Solaris, Windows )
- Fast ( Immediately reacts to file changes )
Most importantly it allows running tests in an environment that is agnostic to:
- Web frameworks ( rails, merb, sinatra, camping, invisible, ... )
- Test frameworks ( test/unit, minitest, rspec, test/spec, expectations, ... )
- Ruby interpreters ( ruby1.8, ruby1.9, MRI, JRuby, Rubinius, ... )
- Package frameworks ( rubygems, rip, ... )
Usage
On the command line,
$ watchr path/to/script.file
will monitor files in the current directory tree, and react to events on those files in accordance with the script.
No comments:
Post a Comment