diff --git a/src/node/plugin.ts b/src/node/plugin.ts index d84ba0d34914..8971b6b94c7e 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -112,6 +112,9 @@ export function createVitePressPlugin( }, configureServer(server) { + console.log(configPath) + server.watcher.add(configPath) + // serve our index.html after vite history fallback return () => { server.middlewares.use((req, res, next) => {