diff options
| author | Pitu <[email protected]> | 2019-03-15 07:53:05 +0000 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-03-15 07:53:05 +0000 |
| commit | 1790a84430a7b4532a1345d851b5b8e0ed197f83 (patch) | |
| tree | cf695216a2d941c0c8b5b4fe80c30d05077781d7 | |
| parent | proper baseurl (diff) | |
| download | host.fuwn.me-1790a84430a7b4532a1345d851b5b8e0ed197f83.tar.xz host.fuwn.me-1790a84430a7b4532a1345d851b5b8e0ed197f83.zip | |
add restart at the end of update command
| -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", |