codecombat/bin/coco-client-test-runner

13 lines
234 B
Text
Raw Normal View History

2014-01-03 10:32:13 -08:00
#!/bin/bash
# full script path
_scriptDir="$(cd "$(dirname "$0")" && pwd -P)"
2014-01-05 18:32:42 +01:00
2014-01-03 10:32:13 -08:00
sleep 5
cd $_scriptDir
2014-01-05 18:32:42 +01:00
cd ../
2014-01-03 10:32:13 -08:00
until node_modules/karma/bin/karma start; do
2015-01-23 20:56:27 +00:00
echo "Karma crashed with exit code $?. Respawning..." >&2
2014-01-03 10:32:13 -08:00
sleep 1
done