webpack-ext-reloader icon indicating copy to clipboard operation
webpack-ext-reloader copied to clipboard

Content Script not reloading when using "manifest" argument for plugin

Open lucasrmendonca opened this issue 1 year ago • 0 comments

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

lucasrmendonca avatar Feb 15 '24 02:02 lucasrmendonca