fuyutarow / solid-chrome-extension-template

Chrome Extension Boilerplate with SolidJS + Vite + TypeScript + Manifest V3 + Hot Relaod
MIT License
102 stars 18 forks source link

Hot Reload not working either on popup, tabs or panel #2

Open packetstracer opened 1 year ago

packetstracer commented 1 year ago

What is the problem

Hot Reload not working either on popup, tabs or panel. No changes are displayed until reloaded manually.

Expected

It should load page changes via Hot Reload

Steps to Reproduce

Just clone the project and run it locally

Nodemon rebuilds but HMR does not work on any of the Pages. Changes are only applied when reopening the popup, reloading the options or the new tab, or reopening devtools.

packetstracer commented 1 year ago

Any clues or tweaking on vite config or other stuff should be done?

johannesjo commented 6 months ago

I am running into the same issue. Not sure if it is technically possible tbh, but it would be great if so.