mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-23 17:57:32 +03:00
goreload: add page (#3309)
This commit is contained in:
parent
386bd43dbb
commit
a4177137ba
16
pages/common/goreload.md
Normal file
16
pages/common/goreload.md
Normal 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`
|
Loading…
Reference in New Issue
Block a user