From 4fb748224f14f313b90b635a07b04dc4d7ae6edc Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Fri, 8 Dec 2023 20:10:59 +0900 Subject: [PATCH] chore: fix `--watch.include` option of `dev` scripts (#4702) --- packages/browser/package.json | 2 +- packages/ui/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/browser/package.json b/packages/browser/package.json index ad27e92d8075..0c754ef7aec2 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -44,7 +44,7 @@ "build:client": "vite build src/client", "build:node": "rollup -c", "dev:client": "vite build src/client --watch", - "dev:node": "rollup -c --watch --watch.include src/node/index.ts", + "dev:node": "rollup -c --watch --watch.include 'src/node/**'", "dev": "rimraf dist && run-p dev:node dev:client", "prepublishOnly": "pnpm build" }, diff --git a/packages/ui/package.json b/packages/ui/package.json index 5515d99f5b81..de9613141b4d 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -38,7 +38,7 @@ "build:node": "rollup -c", "typecheck": "tsc --noEmit", "dev:client": "vite", - "dev": "rollup -c --watch --watch.include=node", + "dev": "rollup -c --watch --watch.include 'node/**'", "dev:ui": "run-p dev dev:client", "test:run": "cypress run --component", "test:open": "cypress open --component",