Vite
Vite does not detect file changes under WSL2
Vite file watching can fail under WSL2 in certain filesystem conditions, preventing the dev server from noticing edits.
Vite
Vite file watching can fail under WSL2 in certain filesystem conditions, preventing the dev server from noticing edits.
Observed message
Vite does not detect a file change.
Why it happens
How to fix it
Official reference
Vite: TroubleshootingRelated errors
Explore more