运行脚本

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

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