运行脚本

master
pan 4 years ago
parent 8f773f28d7
commit 578b76a9d7
  1. 9
      run.sh

@ -3,12 +3,9 @@
function run(){
nohup yarn start &
pid=-1
while(( pid==-1 ))
do
pid=`findPortPid $webPort`
echo "pid is $pid"
done
wait
pid=`findPortPid $webPort`
echo "pid is $pid"
touch $pid.log && chmod +x $pid.log
}

Loading…
Cancel
Save