gorun
is a command to replace go run
for live-reloading Go application.
go install github.com/defool/[email protected]
gorun xxx.go
This command forks new process to run go run xxx.go
, and recreate it after any *.go
file is changed in current directory.