#watch #notify #unix #term #clap

bin+lib capgun

fire when ready file watcher

2 releases

Uses old Rust 2015

0.1.1 Jul 7, 2015
0.1.0 Jul 1, 2015

#70 in #term

MIT license

5KB
100 lines

capgun

Build Status

fire when ready

Capgun is a simple utility that watches files and fires a specified command when they do

install

$ cargo build --release
$ chmod u+x target/release/capgun
$ cp target/release/capgun SOMEWHERE_ON_YOUR_PATH

usage

restart your cargo tests when src changes

$ capgun -c 'cargo test' src

rerun your cargo tests when src changes

$ capgun -c 'cargo run' src

usage is not limited to rust workflows so use your imagination

Doug Tangren (softprops) 2015

Dependencies

~1.4–2.2MB
~39K SLoC