codecombat/bin/coco-client-test-runner
2014-01-05 20:09:58 +01:00

12 lines
234 B
Bash
Executable file

#!/bin/bash
# full script path
_scriptDir="$(cd "$(dirname "$0")" && pwd -P)"
sleep 5
cd $_scriptDir
cd ../
until node_modules/karma/bin/karma start; do
echo "Karma crashed with exit code $?. Respawning.." >&2
sleep 1
done