Last active
August 5, 2019 07:26
-
-
Save jamesmccann/3e059ad39e96097d273bfac2534e15cb to your computer and use it in GitHub Desktop.
modd live-reloading go server with .env config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev: | |
env $$(grep -v '^#' .env | xargs) modd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**/*.go !**/*_test.go { | |
daemon +sigterm: go run ./cmd/*/main.go | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment