From c3352eadd3250a2cd28b8d5cb63b981d4f0015f9 Mon Sep 17 00:00:00 2001 From: myk bilokonsky Date: Mon, 10 Apr 2017 03:02:44 +0200 Subject: added restart command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index be8a30a..cfaec10 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "pm2": "^2.4.4" }, "scripts": { - "start": "pm2 start index.js" + "start": "pm2 start index.js", + "restart": "pm2 restart index" } } -- cgit