fregante/browser-extension-template

Need to restart the extension to see changes

goldylucks opened this issue · 9 comments

When I make a change to a content script, I need to restart $ web-ext run -t chromium to see the changes.

repro repo
https://github.com/goldylucks/web-ext-reload-not-working

Thanks again for this project

Refer to the note: https://github.com/fregante/browser-extension-template#%EF%B8%8F-make-the-first-change

You don't need to restart it, just refresh the pace

I guess I wasn't clear, sry for that.

If I just refresh the page the changes aren't there.

Does web-ext pick up the changes? It should say "changes detected at (time)" or something like that

yes it says:

$ web-ext run -t chromium
Applying config file: ./package.json
Running web extension from /Users/Goldy/apps/web-extension/distribution
The extension will reload if any source file changes
Press R to reload (and Ctrl-C to quit)
Last extension reload: 18:54:04 GMT+0200 (Israel Standard Time)

can we reopen this?

If web-ext doesn't work for you, you can open an issue on their repo. Here it works as expected:

Screen.Recording.1.mov

"their" being parcel repo?

The reloading is managed by web-ext

@fregante
Any fix for this issue?
I'm also plagued by this :(