Created
February 3, 2020 09:10
-
-
Save haifahrul/3ea79712712e4fc0f5fa7e4ff1d96e52 to your computer and use it in GitHub Desktop.
Makefile for serve Air live reload for Go Apps
This file contains hidden or 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
start: | |
echo 'YOUR_PASS_SUDO' | sudo -kS kill -9 `lsof -t -i:"$(SERVICES_GRPC_PORT)"` | godotenv go run main.go | |
serve: | |
air -c .air.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment