node-generator-chrome-ninja
node-generator-chrome-ninja copied to clipboard
Load patched modules in new browsing contexts
When chrome destroys/reloads a page and extension code (like a content script) is loaded again, it'll load the initial version, without the changes that have been made since. Reproduce:
- Generate extension with a content script
- Navigate to a page in chrome
- Make some changes to the content script
- Watch it hot reload in the chrome page, nice
- Open another page, you'll see the old version of the content script (until you make another change).