Gomon
This is fork of JulesGuesnon/Gomon
This package aim to reproduce the behavior of nodemon for go.
I made this for training purpose so it's probably not really usable.
Installation guide
Install the package
go install github.com/barelyhuman/gomon
You can also run this directly using
go get -u github.com/barelyhuman/gomon
go run github.com/barelyhuman/gomon <flags and options>
There you go !
How to use it ?
For now you can only watch a file, nothing else
gomon path/to/my/file.go
# or
gomon -w "./src,./dist" path/to/my/file.go
Possible issue
If you face this issue:
gomon: command not found
You may need to add GOPATH
to your PATH
(you may need to set your GOPATH
)
export PATH=$PATH:$GOPATH/bin