@ -3,13 +3,18 @@
function run(){
nohup yarn start &
pid=-1
while(( pid==-1 ))
while true
do
sleep 1s
pid=`findPortPid $webPort`
done
if [ pid -eq '' ]
then
echo pid not found!!!
else
echo "pid is $pid"
break
touch $pid.log && chmod +x $pid.log
}