summary refs log tree commit diff
diff options
context:
space:
mode:
authormyk bilokonsky <mbilokonsky@gmail.com>2017-04-10 03:02:44 +0200
committermyk bilokonsky <mbilokonsky@gmail.com>2017-04-10 03:02:44 +0200
commitc3352eadd3250a2cd28b8d5cb63b981d4f0015f9 (patch)
treef61835f2762b034e080eb93bea3548f8f96d59a0
parent18b497bf8257e8b4d372a76649514e6113665139 (diff)
added restart command
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
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"
   }
 }