slight increase in delay to wait for server
This commit is contained in:
parent
0b0f6aaa50
commit
7d92658519
2
manage
2
manage
@ -156,7 +156,7 @@ function restart_server() {
|
|||||||
|
|
||||||
echo -e "${COLOR_BLUE}Starting server...${COLOR_RESET}"
|
echo -e "${COLOR_BLUE}Starting server...${COLOR_RESET}"
|
||||||
npm start > node.log 2>&1 &
|
npm start > node.log 2>&1 &
|
||||||
sleep 1
|
sleep 2
|
||||||
|
|
||||||
PIDS=$(lsof -t -i:$PORT)
|
PIDS=$(lsof -t -i:$PORT)
|
||||||
if [ -n "$PIDS" ]; then
|
if [ -n "$PIDS" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user