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
If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.
Describe the bug
When the project folder contains the following characters: [ ] it will break the hot-reload feature of the devserver. I have not tested any other characters.
Reproduction
run npm init @vitejs/app
name the project anything with these characters [ ] i.e. vite-name [test]
run devserver with npm run dev
edit src/App.tsx and it will not hot-reload
System Info
vite version: 2.0.0
Operating System: Mac OSX 10.15.6
Node version: 14.7.0
Package manager (npm/yarn/pnpm) and version: npm 7.5.2
sandervspl
changed the title
Special characters [ ] will break devserver hot-reload
Special characters [ ] in the project folder name will break devserver hot-reload
Feb 22, 2021
Describe the bug
When the project folder contains the following characters:
[ ]
it will break the hot-reload feature of the devserver. I have not tested any other characters.Reproduction
npm init @vitejs/app
[ ]
i.e.vite-name [test]
npm run dev
src/App.tsx
and it will not hot-reloadSystem Info
vite
version: 2.0.0Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: