Skip to content

Commit

Permalink
pm2 fix (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmahlbrand authored Jan 11, 2020
1 parent 5f2a093 commit d1cefa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions run
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#!/bin/bash

#!node server/main.js "$*"

./stop

pm2 start server/ecosystem.config.js && pm2 logs
pm2 startOrReload server/ecosystem.config.js && pm2 logs
3 changes: 1 addition & 2 deletions run.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
REM node server/main.js %*
REM stop
pm2 start server/ecosystem.config.js && pm2 logs
pm2 startOrReload server/ecosystem.config.js && pm2 logs
REM open browser and go to localhost:3000

0 comments on commit d1cefa2

Please sign in to comment.