slight increase in delay to wait for server

This commit is contained in:
Aidan 2024-11-08 08:45:31 -05:00
parent 0b0f6aaa50
commit 7d92658519

2
manage
View File

@ -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