We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f8b8a commit 5edb467Copy full SHA for 5edb467
packages/react-router-dev/CHANGELOG.md
@@ -1,5 +1,8 @@
1
# `@react-router/dev`
2
3
+### Patch Changes
4
+- Copy `server.watch` config options from `vite.config.(ts|js)` file to child vite server in development mode.
5
+
6
## 7.8.2
7
8
### Patch Changes
packages/react-router-dev/vite/plugin.ts
@@ -1448,7 +1448,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = () => {
1448
cacheDir: "node_modules/.vite-child-compiler",
1449
mode: viteConfig.mode,
1450
server: {
1451
- watch: viteConfig.command === "build" ? null : undefined,
+ watch: viteConfig.command === "build" ? null : viteConfig.server.watch,
1452
preTransformRequests: false,
1453
hmr: false,
1454
},
0 commit comments