infoniqa/scripts/run.sh

6 lines
198 B
Bash
Raw Normal View History

2023-10-04 12:48:58 +00:00
#!/bin/sh
GREEN='\033[0;32m'
NC='\033[0m'
nodemon --delay 1s -e go,html,yaml --signal SIGTERM --quiet --exec \
'echo "\n'"$GREEN"'[Restarting]'"$NC"'" && go run './cmd/infoniqa' -- "$@" "|| exit 1"