After experimenting with some solutions I found an ultimate one: https://github.com/cespare/reflex
Installation:
go get github.com/cespare/reflexAutomatically recompiling markdown file into html every time the file is changed:
reflex -r '\.md$' blackfriday-tool -page article.md article.htmlOr you can restart Go app when saved files:
reflex -r '\.go$' -- go run main.go
No comments:
Post a Comment