snippetbashTip
goreload — Live reload utility for Go programs. More information: <https://github.com/acoshift/goreload#basic-u
Viewed 0 times
programscommandlivereloadgoreloadcliforutility
Problem
How to use the
goreload command: Live reload utility for Go programs. More information: <https://github.com/acoshift/goreload#basic-usage>.Solution
goreload — Live reload utility for Go programs. More information: <https://github.com/acoshift/goreload#basic-usage>.Watch a binary file (defaults to
.goreload):goreload {{[-b|--bin]}} {{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 --allCode Snippets
Watch a binary file (defaults to `.goreload`)
goreload {{[-b|--bin]}} {{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 --allContext
tldr-pages: common/goreload
Revisions (0)
No revisions yet.