tldr/pages/common/goreload.md
Vitor Henrique d79a1667e3
pages*: refine wording (#12132)
* pages*: refine wording

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-02-09 19:25:36 +05:30

378 B

goreload

Live reload utility for Go programs. More information: https://github.com/acoshift/goreload.

  • Watch a binary file (defaults to .goreload):

goreload -b {{path/to/binary}} {{path/to/file.go}}

  • Set a custom log prefix (defaults to goreload):

goreload --logPrefix {{prefix}} {{path/to/file.go}}

  • Reload whenever any file changes:

goreload --all