EranGrin / vue-web-component-wrapper

vue3 - web component wrapper plugin
https://erangrin.github.io/vue-web-component-wrapper/
50 stars 5 forks source link

No Vite hot reload when changing component #21

Closed MichelJonkman closed 2 months ago

MichelJonkman commented 2 months ago

The component doesn't reload when I change it's code except for styling. If this isn't reproducible I can create a minimal project to reproduce it!

EranGrin commented 2 months ago

Please create a minimal project to reproduce the issue

MichelJonkman commented 2 months ago

I zipped the project as it was easier to share that way. If I run pnpm dev, open de url it gives and make changes to my component file, hot reload doesn't work.

web-component.zip

EranGrin commented 2 months ago

@MichelJonkman great catch this bug seems to be related to the latest release and doesn't exist on v1.4.4. I'll try to fix it in the coming days

MichelJonkman commented 2 months ago

@EranGrin Alright, thank you! Everything seems to be working fine otherwise

EranGrin commented 2 months ago

@MichelJonkman I added a bugfix, please let me know if all work as expected.

MichelJonkman commented 2 months ago

@EranGrin Seems to work correctly now!