运行脚本

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

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

Loading…
Cancel
Save