diff options
author | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-10 03:02:44 +0200 |
---|---|---|
committer | myk bilokonsky <mbilokonsky@gmail.com> | 2017-04-10 03:02:44 +0200 |
commit | c3352eadd3250a2cd28b8d5cb63b981d4f0015f9 (patch) | |
tree | f61835f2762b034e080eb93bea3548f8f96d59a0 | |
parent | 18b497bf8257e8b4d372a76649514e6113665139 (diff) |
added restart command
-rw-r--r-- | package.json | 3 |
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" } } |