caretaker-0.1.3 is not a library.
caretaker
A simple tool that loads a list of paths to watch from a TOML file.
[[]]
= "print hello"
= "src"
= "echo \"hello world\""
[[]]
= "compile sass"
= "sass"
= "sassc -t compressed sass/style.scss static/style.css"
On a change in the path
, it executes the command
. 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.