codecombat/bin/coco-client-test-runner

13 lines
234 B
Text
Raw Normal View History

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