Modd (https://github.com/cortesi/modd) is a tool to listen to file system changes and launch process. Configuring it is as easy as creating a modd.conf file on root project path and setting the commands you want to launch and run modd.
modd.conf
**/*.go { prep: go vet @dirmods prep: go test -cover @dirmods prep: go build -o app daemon +sigterm: ./app }