Skip to content

Commit

Permalink
Update runApp.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
legah2045 authored Sep 23, 2021
1 parent 73dda1a commit 69b84b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/runApp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
echo 'The following "npm" command runs your Node.js application'

set -x
npm start &
npm start & # for it to run in the background
sleep 1
echo $! > .pidfile
echo $! > .pidfile # echo $! will show the scripts running in the background
set +x

echo 'Now you can'
Expand Down

0 comments on commit 69b84b8

Please sign in to comment.