Skip to content

Commit

Permalink
update --watch flag
Browse files Browse the repository at this point in the history
  • Loading branch information
JKTUNING committed Dec 11, 2023
1 parent 2bce655 commit a446cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/installUpdater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ fi
#check to see if flux_updater is already running and stop/delete it from pm2
if [[ $(pm2 info flux_updater 2>&1 | grep status) != "" ]]; then
echo -e "flux_updater already running ... stopping and deleting flux_updater from pm2"
pm2 reload flux_updater --watch-delay 1000
pm2 reload flux_updater --watch --watch-delay 1000
else
echo -e "flux_updater not already running ... starting flux_updater service"
pm2 start src/flux_updater.js --watch-delay 1000
pm2 start src/flux_updater.js --watch --watch-delay 1000
sleep 2
pm2 save
fi

0 comments on commit a446cd2

Please sign in to comment.