tldr/pages/common/goreload.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

383 B

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