silence gradle on run
This commit is contained in:
parent
dc4f54be4b
commit
a52de9ccb7
1 changed files with 2 additions and 2 deletions
4
run.sh
4
run.sh
|
|
@ -117,14 +117,14 @@ if [[ ${MODE} == "FOREGROUND" ]]; then
|
||||||
while [[ ${EXIT_CODE} -eq 200 ]]; do
|
while [[ ${EXIT_CODE} -eq 200 ]]; do
|
||||||
# Restart as long as we have a exit code of 200, this allows the application to restart itself
|
# Restart as long as we have a exit code of 200, this allows the application to restart itself
|
||||||
#startHal
|
#startHal
|
||||||
./gradlew ${GRADLE_COLOR} run
|
./gradlew ${GRADLE_COLOR} --warning-mode none run
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
done
|
done
|
||||||
elif [[ ${MODE} == "BACKGROUND" ]]; then
|
elif [[ ${MODE} == "BACKGROUND" ]]; then
|
||||||
# Kill current session
|
# Kill current session
|
||||||
screen -S hal -X kill
|
screen -S hal -X kill
|
||||||
# Start new session
|
# 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 "-------------------------"
|
echo "-------------------------"
|
||||||
screen -list
|
screen -list
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue