1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/goreload.md
2022-12-04 19:12:49 +10:00

399 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}} {{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