codecombat/bin/coco-client-test-runner
2015-01-23 20:56:27 +00: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