diff options
| author | julian laplace <julescarbon@gmail.com> | 2022-10-31 16:41:31 +0100 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2022-10-31 16:41:31 +0100 |
| commit | d345b433a9d29dfd3c94f56de44e740bbac095c4 (patch) | |
| tree | 1142df8fc3492c5f74eb37c14b8acb1905c74959 /package.json | |
| parent | accb501e925095c66bbf58007038a883b94e73ed (diff) | |
add yarn restart command
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 92f2c09..9590ae4 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "build:search": "node bucky/bin/build-search", "build:scripts": "node bucky/bin/build-scripts", "export:keyword": "node bucky/bin/export-keyword", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "restart": "git pull; pm2 restart bucky; yarn build:scripts" }, "repository": { "type": "git", |
