aboutsummaryrefslogtreecommitdiff
path: root/cbt
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-04-26 10:55:37 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-04-28 13:33:20 -0400
commit4f4a5ce29d240e700137e16fdb9156417ae63be1 (patch)
tree2341985b13b54089b8c05757b91d68f61771fa84 /cbt
parent43bfdc4bf1c46fbb6abae97643aa13da557b9610 (diff)
downloadcbt-4f4a5ce29d240e700137e16fdb9156417ae63be1.tar.gz
cbt-4f4a5ce29d240e700137e16fdb9156417ae63be1.tar.bz2
cbt-4f4a5ce29d240e700137e16fdb9156417ae63be1.zip
this seems to fix some bug with nailgun not restarting fast enough
Diffstat (limited to 'cbt')
-rwxr-xr-xcbt2
1 files changed, 2 insertions, 0 deletions
diff --git a/cbt b/cbt
index 5224744..867276a 100755
--- a/cbt
+++ b/cbt
@@ -152,8 +152,10 @@ stage1 () {
if [ $use_nailgun -eq 0 ]; then
echo "Stopping nailgun" 1>&2
$NG ng-stop >> $nailgun_out 2>> $nailgun_err &
+ sleep 1
echo "Restarting nailgun" 1>&2
ng-server 127.0.0.1:$NAILGUN_PORT >> $nailgun_out 2>> $nailgun_err &
+ sleep 1
fi
fi