From 78db752cdc4dc94017611484e35cbf126d8e454c Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Sat, 24 May 2025 22:01:00 +0100 Subject: [PATCH] Build: Enhance dev script for robust concurrent task handling --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 831179f1e..6badce4d9 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "dev:server": "NODE_ENV=development node -r dotenv/config --env-file=.env server/index.js", "dev:css": "tailwindcss -c ./src/tailwind.config.js -i ./src/index.css -o ./src/public/output.css --watch", "build:css": "NODE_ENV=production tailwindcss -c ./src/tailwind.config.js -i ./src/index.css -o ./src/public/output.css", - "dev": "concurrently \"npm:dev:server\" \"npm:dev:css\"", + "dev": "concurrently --kill-others --kill-others-on-fail \"npm:dev:server\" \"npm:dev:css\"", "test": "cross-env NODE_ENV=test jest --coverage", "screenshot": "node scripts/take-screenshots.js" },