webpack-extension-reloader
webpack-extension-reloader copied to clipboard
Hot reload only the active tab.
Type:
- [ ] bug
- [ ] feature
- [ ] enhancement
- [x] question
Environment:
- OS:Linux
- Browser: Chrome
- Library Version: ^1.1.4
I'm going to open a PR:
- [ ] yes
- [x] no
Description: I currently below is my config
new ExtensionReloader({
port: 9090,
reloadPage: true,
entries: {
// TODO: reload manifest on update
contentScript: "contentScript",
background: "background",
extensionPage: ["popup", "options"],
},
})
Whenever a change is there it reloads all of the tabs to which my chrome extension has access. Is there a way to just reload the active tab?
for me reload works only on contentScript and background not extensionPage: ["popup", "options"],