From 6ae79f6bd3f7eaeae0d707889ce8d2c1c32c3ba9 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 24 May 2021 13:28:42 +0200 Subject: The package.json dev script now exits on crash --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') 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" }, -- cgit v1.2.3-18-g5258