#go-watch
Bash script to watch and automatically rerun go files
###Installation
- (OSX) Use brew to io install fswatch
$ brew install fswatch
- Clone repo:
$ git clone https://github.com/mnibecker/go-watch
- Inside the repo, make file go-watch executeable
$ chmod -x go-watch
- Move go-watch to somewhere in your system path. For example:
$ sudo mv go-watch /usr/local/bin
- Have a great time!
###Usage
Use go-watch
instead of go run
to run your project. For example:
$ go-watch main.go