From 634686eca2bbb6c0f795bf72f1e2f440647f02e5 Mon Sep 17 00:00:00 2001 From: RomanLukash340 <2893931+RomanLukash340@users.noreply.github.com> Date: Thu, 3 Oct 2024 21:09:05 +0200 Subject: [PATCH] Add watch script (#478) --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index f263685b6..ec15db6e1 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "prebuild": "npm run check", "build": "cross-env CI=true npm run build -w projects && cross-env CI=true npm run build -w runner && cross-env CI=true npm run build -w simulator && cross-env CI=true npm run build -w cli && cross-env CI=true npm run build -w components && cross-env CI=true npm run build -w web && cross-env CI=true npm run build -w extension", "build:extension": "cross-env CI=true npm run build -w extension", + "watch": "concurrently -k --restart-tries 3 \"npm run build -w components -- -w\" \"npm run build -w projects -- -w\" \"npm run build -w runner -- -w\" \"npm run build -w simulator -- -w\"", "test:ci": "cross-env CI=true npm test -w simulator && cross-env CI=true npm test -w components && cross-env CI=true npm test -w web", "pretest": "npm run build", "test": "npm run test:ci", @@ -51,6 +52,7 @@ "npm": ">=7" }, "devDependencies": { + "concurrently": "^9.0.1", "cross-env": "^7.0.3", "shx": "^0.3.4" }