webpack-ext-reloader
webpack-ext-reloader copied to clipboard
Content Script not reloading when using "manifest" argument for plugin
Describe the bug
When calling the plugin with the "manifest" option, the Content Scripts are not auto-reloading:
new ExtensionReloader({
entries: { manifest: path.resolve(process.cwd(), 'src/manifest.json') },
})
When calling it with the "entries", though, the Content Scripts reload.
Expected behavior
Content scripts should automatically reload when passing the manifest path just like when listing the entries object.
Environment:
- OS: Ubuntu 20.04.6 LTS
- Browser Version: Google Chrome Version 121.0.6167.184 (Official Build) (64-bit)
- webpack Version: 5.89.0
- webpack-ext-reloader Version: 1.1.12
I'm going to open a PR
- [x] yes
- [ ] no