diff options
| -rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index fb1ad6a..e6932e3 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "seed": "yarn knex seed:run", "api": "node src/api/structures/Server", "site": "cross-env NODE_ENV=production nuxt start", - "update": "git pull && yarn install && yarn migrate && yarn build" + "update": "git pull && yarn install && yarn migrate && yarn build && yarn restart", + "restart": "pm2 restart lolisafe-api && pm2 restart lolisafe-website" }, "repository": { "type": "git", |