aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-05-24 13:28:42 +0200
committerHampusM <hampus@hampusmat.com>2021-05-24 13:28:42 +0200
commit6ae79f6bd3f7eaeae0d707889ce8d2c1c32c3ba9 (patch)
tree32c90a1a9dff004efc5186cf9df66ec786732e0d
parent518bd58c5aba1a6eaa645074f3ae2d780c45f6dc (diff)
The package.json dev script now exits on crash
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6248a10..db4a57c 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"main": "dist/app.html",
"scripts": {
"start": "node src/app.js",
- "dev": "concurrently \"parcel watch --no-source-maps src/frontend/app.html\" \"nodemon src/app.js\"",
+ "dev": "concurrently -k --kill-others-on-fail \"parcel watch --no-source-maps src/frontend/app.html\" \"nodemon --exitcrash src/app.js\"",
"build": "parcel build --no-source-maps src/frontend/app.html",
"test": "echo \"Error: no test specified\" && exit 1"
},