Use reflex to hot reload go application in development

In last article I mentioned air for hot reload when develop a go application, then I found this reflex tool which is much lightweight.

Installation

1
$ go get github.com/cespare/reflex

Run

1
$ reflex -s go run server.go

It will monitor all of your .go file and the .html templates file under the folder. Painless!

Reference