运行脚本

master
pan 4 years ago
parent cf87fb8b1d
commit eb5b0e6d18
  1. 4
      run.sh

@ -5,6 +5,7 @@ export webClient=http://localhost:5000
function run(){
nohup yarn start &
sleep 5s
pid=`findPortPid $PORT`
echo "pid is $pid"
touch $pid.log && chmod +x $pid.log
@ -24,5 +25,4 @@ then
fi
else
run
fi
fi
Loading…
Cancel
Save