Yet another live reload app for golang, it watchs xxx.go files only.
go get github.com/ot24net/umon
cd $GOPATH/src/github.com/ot24net/umon
go build
sudo cp umon /usr/local/bin
umon dir1 dir2 dir3 ...
#!/bin/bash
# cd to main.go dir
cd app
# WEBAPP is environment var for app
# ../app, ../lib, ../model, ../ctrl contains .go files that need build
WEBAPP=$HOME/work/webapp umon ../app ../lib ../model ../ctrl