infoniqa/scripts/run.sh

6 lines
198 B
Bash

#!/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"