caretaker

Build status Crates.io status

A simple tool that loads a list of paths to watch from a TOML file. ```toml [[watch]] name = "print hello" path = "src" command = "echo \"hello world\""

[[watch]] name = "compile sass" path = "sass" command = "sassc -t compressed sass/style.scss static/style.css" `` On a change in thepath, it executes thecommand`. Directories are watched recursively.

Using notify crate, which provides efficient event handling support for the most operating systems (apart from BSD).

Installing

cargo install caretaker

Running

Initialising with a dummy .watch.toml file: ``` caretaker init ````

Watching: caretaker

You can also pass another file to load the config from via the -w option.

License

MIT