mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 00:55:25 +02:00
goreload: add page (#3309)
This commit is contained in:
parent
386bd43dbb
commit
a4177137ba
1 changed files with 16 additions and 0 deletions
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…
Add table
Reference in a new issue