chrome-manifest-v3-webpack-hotreload-template icon indicating copy to clipboard operation
chrome-manifest-v3-webpack-hotreload-template copied to clipboard

How can it work?

Open nicoandmee opened this issue 3 years ago • 0 comments

I'm trying to get hot reload working in my Manifest v3 extension. I've set it up in the same as in this project, and it successfully connects and sees there are changes. However, it throws an error on recompiling. image

This makes sense to me since MV3/service worker has no access to DOM. Yet that's how the changes seem to be getting applied (via script tag injection). Am I missing something? Is there truly no way to get hot reload working in a MV3 extension?

nicoandmee avatar Jun 27 '22 03:06 nicoandmee