go get github.com/cespare/reflex
alias gorun="reflex -r '(\.go$|go\.mod$|\.yaml$)' -s go run"
用gorun 替代 go run