tshaddix / webext-redux

A set of utilities for building Redux applications in Web Extensions.
MIT License
1.22k stars 179 forks source link

Question: Advise for hot reloading in development #279

Open jackHedaya opened 2 years ago

jackHedaya commented 2 years ago

Hi!

I'm using webext-redux in development and am wondering how you guys hot reload the extension. Before, I was simply loading the extension frontend in chrome as a normal webpage and then building to an extension. Obviously, with the background script being extension exclusive, this is no longer an option.

Looking forward to hearing from you!

eduardoacskimlinks commented 2 years ago

If you are using manifest v2, I recommend https://github.com/rubenspgcavalcante/webpack-extension-reloader.

Keep in mind that if you are already on manifest v3 like us, this library won't work for you as the issue hasn't been resolved https://github.com/rubenspgcavalcante/webpack-extension-reloader/issues/125