https://github.com/softprops/capgun
fire when ready
https://github.com/softprops/capgun
Last synced: about 1 year ago
JSON representation
fire when ready
- Host: GitHub
- URL: https://github.com/softprops/capgun
- Owner: softprops
- License: mit
- Created: 2015-07-01T05:22:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-23T17:09:57.000Z (almost 11 years ago)
- Last Synced: 2025-03-17T11:59:50.018Z (over 1 year ago)
- Language: Rust
- Size: 136 KB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# capgun
[](https://travis-ci.org/softprops/capgun)
> fire when ready
Capgun is a simple utility that watches files and fires a specified command when they do
## install
```bash
$ 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
```bash
$ capgun -c 'cargo test' src
```
rerun your cargo tests when src changes
```bash
$ capgun -c 'cargo run' src
```
usage is not limited to rust workflows so use your imagination
Doug Tangren (softprops) 2015