Kanna is a tiny tool inspired by nodemon. It watches the files in the directory in where Kanna started or by your specify, so if any files change, Kanna automatically restarts your command.
go get github.com/kaleocheng/kanna
# simple run go build
kanna go build
# with flags, you can use ""
kanna "go build -v"
kanna node app.js
Special thanks go to beego/bee, nathany/looper and gohugoio/hugo, from those projects, I gained a lot.