diff --git a/run.sh b/run.sh index 07ad613..1645d9e 100644 --- a/run.sh +++ b/run.sh @@ -1,12 +1,9 @@ #!/bin/sh -export PORT=2233 -export webClient=http://localhost:5000 - function run(){ nohup yarn start & sleep 5s - pid=`findPortPid $PORT` + pid=`findPortPid $webPort` echo "pid is $pid" touch $pid.log && chmod +x $pid.log }