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",