diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-11-29 07:49:58 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-11-29 07:51:29 -0500 |
commit | 0963010a517fdc8c040b10c98922d7f818960e78 (patch) | |
tree | dc0ae0703a8f2fbb5f70e9b3cdfda786310527b2 /cbt | |
parent | 842f05a5fa06e600050f82b6bc59260b0cf15f0f (diff) | |
download | cbt-0963010a517fdc8c040b10c98922d7f818960e78.tar.gz cbt-0963010a517fdc8c040b10c98922d7f818960e78.tar.bz2 cbt-0963010a517fdc8c040b10c98922d7f818960e78.zip |
speed up compile when stopping nailgun launcher
Diffstat (limited to 'cbt')
-rwxr-xr-x | cbt | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -170,6 +170,8 @@ stage1 () { done compiles=0 if [ $changed -eq 1 ]; then + echo "Stopping background process (nailgun) if running" 1>&2 + $NG ng-stop >> $nailgun_out 2>> $nailgun_err & #rm $NAILGUN$TARGET/cbt/*.class 2>/dev/null # defensive delete of potentially broken class files echo "Compiling cbt/nailgun_launcher" 1>&2 COMPILE_TIME=$(date -j +%YY%mm%dd%HH%MM.%SS|sed "s/[YmdHMS]//g") @@ -179,9 +181,6 @@ stage1 () { touch -t $COMPILE_TIME $NAILGUN_INDICATOR fi if [ $use_nailgun -eq 0 ]; then - echo "Stopping background process (nailgun)" 1>&2 - $NG ng-stop >> $nailgun_out 2>> $nailgun_err & - sleep 1 echo "Restarting background process (nailgun)" 1>&2 ng-server 127.0.0.1:$NAILGUN_PORT >> $nailgun_out 2>> $nailgun_err & sleep 1 |