diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 641a052..a8037c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/tekwizely/pre-commit-golang - rev: master + rev: v1.0.0-beta.4 hooks: # # Go Build diff --git a/Makefile b/Makefile index 716c921..0670e1b 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,6 @@ build: snapshot: goreleaser --snapshot --rm-dist -run: - go run . - clean: go clean rm -rf pingbot* dist/ diff --git a/nodemon.json b/nodemon.json index 7adb2a0..2c94505 100644 --- a/nodemon.json +++ b/nodemon.json @@ -1,6 +1,6 @@ { "watch": ["*"], - "ext": "go toml sh", + "ext": "go toml", "signal": "SIGTERM", "quiet": true, "exec": "clear && bash nodemon.sh" diff --git a/start.sh b/start.sh index f11a026..40d05c6 100755 --- a/start.sh +++ b/start.sh @@ -15,8 +15,8 @@ chmod +x pingbot.out printf "${nc}[${red}END${nc}]\n" -# Wait 5 seconds -sleep 5 +# Wait 2 seconds +sleep 2 # Loop start e.g. on update => restart bash start.sh