summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-31 16:41:31 +0100
committerjulian laplace <julescarbon@gmail.com>2022-10-31 16:41:31 +0100
commitd345b433a9d29dfd3c94f56de44e740bbac095c4 (patch)
tree1142df8fc3492c5f74eb37c14b8acb1905c74959
parentaccb501e925095c66bbf58007038a883b94e73ed (diff)
add yarn restart command
-rw-r--r--package.json3
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",