From cb00a1799402728de4ecec6d52a815e33fcedaf3 Mon Sep 17 00:00:00 2001 From: Ben Irvin Date: Tue, 9 Apr 2024 14:34:28 +0200 Subject: [PATCH] chore: add watch script for all projects (#20068) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e9792c9f12..9fb0923f30 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "build": "nx run-many --target=build --nx-ignore-cycles", "build:size": "cd examples/getstarted && yarn build", "build:ts": "nx run-many --target=build:ts --nx-ignore-cycles", + "build:watch": "nx watch --all --nx-ignore-cycles -- nx run \\$NX_PROJECT_NAME:build --nx-ignore-cycles", "clean": "nx run-many --target=clean --nx-ignore-cycles", "doc:api": "node scripts/open-api/serve.js", "format": "yarn format:code && yarn format:other", @@ -68,8 +69,7 @@ "test:ts:packages": "nx run-many --target=test:ts --nx-ignore-cycles", "test:unit": "jest --config jest.config.js", "test:unit:all": "nx run-many --target=test:unit --nx-ignore-cycles", - "test:unit:watch": "run test:unit --watch", - "watch": "nx run-many --target=watch --nx-ignore-cycles" + "test:unit:watch": "run test:unit --watch" }, "resolutions": { "@strapi/design-system": "1.17.0-typescript.0",