goreload: add page (#3309)

This commit is contained in:
Koung 2019-10-06 20:09:28 +07:00 committed by Agniva De Sarker
parent 386bd43dbb
commit a4177137ba

16
pages/common/goreload.md Normal file
View File

@ -0,0 +1,16 @@
# goreload
> Live reload utility for Go programs.
> More information: <https://github.com/acoshift/goreload>.
- Set the name of the binary file to watch (defaults to ".goreload"):
`goreload -b {{path/to/binary}} {{file}}.go`
- Set a custom log prefix (defaults to "goreload"):
`goreload --logPrefix {{prefix}} {{file}}.go`
- Reload whenever any file changes:
`goreload --all`