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
After upgrading to version 0.20.5 (or anything greater than 0.20.2) I get a 404 error for the hmr import GET http://localhost:3000/@/playground/vite/hmr net::ERR_ABORTED 404 (Not Found).
I have the dev environment in a separate folder called playground but the vite.config.ts is in the root. Before the upgrade it worked fine but now it fails.
Describe the bug
After upgrading to version
0.20.5
(or anything greater than0.20.2
) I get a 404 error for the hmr importGET http://localhost:3000/@/playground/vite/hmr net::ERR_ABORTED 404 (Not Found)
.The compiled
App.vue
looks like this:I have the dev environment in a separate folder called
playground
but thevite.config.ts
is in the root. Before the upgrade it worked fine but now it fails.The
vite.config.ts
looks like this:Could the relative path from
hmrClientPublicPath
be the problem here?Reproduction
https://github.com/MarvinRudolph/vite-hmr-bug
System Info
vite
version: > 0.20.2The text was updated successfully, but these errors were encountered: