diff --git a/pages/common/goreload.md b/pages/common/goreload.md new file mode 100644 index 0000000000..5452844cc7 --- /dev/null +++ b/pages/common/goreload.md @@ -0,0 +1,16 @@ +# goreload + +> Live reload utility for Go programs. +> More information: . + +- 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`