LinuxCommandLibrary

goreload

Live reload utility for Go programs.

TLDR

Set the name of the binary file to watch (defaults to .goreload)

$ goreload -b [path/to/binary] [path/to/file].go
copy


Set a custom log prefix (defaults to goreload)
$ goreload --logPrefix [prefix] [path/to/file].go
copy


Reload whenever any file changes
$ goreload --all
copy

Copied to clipboard