You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify vite.config.js to include build.outDir as "..". Restart vite for your config to come into effect and then modify any file. The server will not restart.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
If you set build.outDir in defineConfig to the current (.) or parent (..) directory, the server no longer restarts when files are modified.
Reproduction
https://stackblitz.com/edit/vitejs-vite-xhnq6i?file=index.html
Steps to reproduce
Modify vite.config.js to include build.outDir as "..". Restart vite for your config to come into effect and then modify any file. The server will not restart.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: