summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2023-01-12 14:37:42 +0100
committerjak1 <jak1@themanaworld.org>2023-01-12 14:37:42 +0100
commit18beb722f36d5b669bc4d86c3c3c0be6a3cdc1dc (patch)
tree0d7d354b16f5008647754ce045a91ba39f84f8e9
parentfb0b6b9fd2ad695f852850c9cfdc773525defac0 (diff)
downloadthepixelworld-18beb722f36d5b669bc4d86c3c3c0be6a3cdc1dc.tar.gz
thepixelworld-18beb722f36d5b669bc4d86c3c3c0be6a3cdc1dc.tar.bz2
thepixelworld-18beb722f36d5b669bc4d86c3c3c0be6a3cdc1dc.tar.xz
thepixelworld-18beb722f36d5b669bc4d86c3c3c0be6a3cdc1dc.zip
added 'npm restart', cause its faster, and devs are lazy *hides*
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 9f9777f..e777a4f 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"scripts": {
"start": "node app.js thepixelworld & echo $! > .pid",
"stop": "pkill -F .pid && rm .pid",
+ "restart": "npm stop && npm start",
"test": "echo \"not configured yet!\" && exit 1"
},
"keywords": [