From f468646f87df2a8af8e9f3c752eb7e2a6feafd15 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sat, 4 May 2019 10:59:11 +0300 Subject: [PATCH] Use start-prod script in pm2 directly --- process.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/process.json b/process.json index 446a691e..debc3dbe 100644 --- a/process.json +++ b/process.json @@ -2,7 +2,8 @@ "apps": [ { "name": "zeppelin", - "script": "dist/index.js", + "script": "npm", + "args": "run start-prod", "log_date_format": "YYYY-MM-DD HH:mm:ss" } ]