Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

background.bundle.js is stale #128

Open
woniesong92 opened this issue Aug 9, 2022 · 0 comments
Open

background.bundle.js is stale #128

woniesong92 opened this issue Aug 9, 2022 · 0 comments

Comments

@woniesong92
Copy link

woniesong92 commented Aug 9, 2022

background.bundle.js is stale even if you refresh the chrome extension.

Repro Steps:

  1. Write console.log('bg 1') in the file pages/Background/index.js
  2. Refresh the chrome extension in chrome://extensions
  3. Verify that bg 1 is printed in the background (service worker)'s console
  4. Update the code in pages/Background/index.js from console.log('bg 1') to console.log('bg 2')
  5. Refresh the chrome extension in chrome://extensions
  6. Notice that bg 1 is printed in the console when bg 2 is expected

Workaround:
Remove the extension and load it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant