From d1cefa2560d9568469c8e94eaf0b3917ce5d28c0 Mon Sep 17 00:00:00 2001 From: Ben Ahlbrand Date: Sat, 11 Jan 2020 03:20:40 -0500 Subject: [PATCH] pm2 fix (#69) --- run | 6 +----- run.bat | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/run b/run index 26a3a45..42c6d00 100755 --- a/run +++ b/run @@ -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 \ No newline at end of file diff --git a/run.bat b/run.bat index af12662..d00e2e6 100644 --- a/run.bat +++ b/run.bat @@ -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 \ No newline at end of file