diff --git a/run.sh b/run.sh index cf66152e..dd45cba0 100644 --- a/run.sh +++ b/run.sh @@ -117,14 +117,14 @@ if [[ ${MODE} == "FOREGROUND" ]]; then while [[ ${EXIT_CODE} -eq 200 ]]; do # Restart as long as we have a exit code of 200, this allows the application to restart itself #startHal - ./gradlew ${GRADLE_COLOR} run + ./gradlew ${GRADLE_COLOR} --warning-mode none run EXIT_CODE=$? done elif [[ ${MODE} == "BACKGROUND" ]]; then # Kill current session screen -S hal -X kill # Start new session - screen -S hal -L -d -m $(dirname "$0")/run.sh --foreground --no-color + screen -S hal -L -d -m "$(dirname "$0")/run.sh" --foreground --no-color echo "-------------------------" screen -list