运行脚本

master
pan 4 years ago
parent 4dc9d21456
commit 8f773f28d7
  1. 10
      run.sh

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

Loading…
Cancel
Save