Skip to content

Commit

Permalink
runSystems reset backend port
Browse files Browse the repository at this point in the history
  • Loading branch information
alberttkt committed Nov 14, 2022
1 parent 862a0db commit e506198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runSystems.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ if [ "$BACKEND" == true ]; then
if tmux has-session -t $s 2>/dev/null; then
# window for the backend
tmux new-window -t $s -n "backend"
tmux send-keys -t $s:{end} "cd web/backend && PORT=4000 npm start" C-m
tmux send-keys -t $s:{end} "cd web/backend && npm start" C-m
else
#run it in the current shell
cd web/backend && PORT=4000 npm start
cd web/backend && npm start
fi
fi

Expand Down

0 comments on commit e506198

Please sign in to comment.