Run commands when files or directories change!
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/watch_do
test/watch_do
.gitignore
README.md
example.clj
project.clj

README.md

watch-do

Run commands when files or directories change!

Building

lein jar

Installation

Download from https://github.com/bivory/watch-do

Usage

$ java -jar watch-do-0.1.0.jar [args]

Options

--watch <file.clj> A file that contains the groups of files to watch and the associated commands to run when a file is modified. The file should have the following format: [{:cmd "command" :cmd-opts ["opt1" "opt2"] :files ["file1" "file2" ...]} ...]

Examples

$ java -jar watch-do-0.1.0.jar --watch example.clj

License

Copyright © 2013 Bryan Ivory

Distributed under the Eclipse Public License, the same as Clojure.