From bb36ff67dc726d68b96f1e1c2069bc51d1cb83f5 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 23 Apr 2019 16:47:34 -0400 Subject: [PATCH] use pm2-runtime --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 34593b2..991c138 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "build:dev": "webpack --mode development", "build:prod": "webpack --mode production", "clean": "rimraf .tmp && mkdirp .tmp/public", - "forever": "./node_modules/.bin/pm2 start ecosystem.config.js --env production", - "stop": "./node_modules/.bin/pm2 delete roe-base", + "forever": "./node_modules/.bin/pm2-runtime start ecosystem.config.js --env production", + "stop": "./node_modules/.bin/pm2-runtime delete roe-base", "test": "npm run lint && npm run custom-tests && echo 'Done.'", "lint": "standard && echo '✔ Your .js files look good.'", "debug": "node --inspect app.js",