re
is a program for rerun your command when files change with a focus on simplicity.
re
is easy to type.- NO dependency use only standard library of go to implement.
- zero config.
go version =>1.11
go install github.com/AnuchitO/re
go version <1.11
go get github.com/AnuchitO/re
re is easy to use just type re
and follow with your command.
re [command]
note: make sure you set $GOPATH/bin into your class path. (.zshrc, .bashrc, etc.)
re go test -v .
- TODO
- rerun one time command e.g.
go test
- interrupt and rerun
- Watching nested files
- Watching single files
- reload app when file change
- configurable option
- skip file in .gitignore
- should clear screen before rerun command
- Cross platform
- please send a PR.