vite-plugin-vue2 icon indicating copy to clipboard operation
vite-plugin-vue2 copied to clipboard

HMR doesn't work - `TypeError: Cannot read properties of undefined (reading 'accept')

Open montella1507 opened this issue 2 years ago • 0 comments

When i add

hmr: true mode: "development"

to vite.config.json

it does nothing (other configuration parts work).

If i add --hmr to vite command i got

TypeError: Cannot read properties of undefined (reading 'accept')

error..

Maybe related to https://github.com/vitejs/vite/issues/10294 Is it going to be fixed in plugin-vue2 too?

montella1507 avatar Nov 29 '22 18:11 montella1507