You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@alexander-akait it is a self created code. For debug purposes it has only install, activate, fetch hooks with logs. The file is used as one of two entries for webpack. Also I use this config:
Activity
alexander-akait commentedon Aug 12, 2022
Please create reproducible test repo, hard to say what is wrong
thebat93 commentedon Aug 12, 2022
Are you using multiple entries for app and service worker? If yes, try this solution.
I'm still having trouble with hot reloading though.
alexander-akait commentedon Aug 12, 2022
@thebat93 Do you use plugin for service worker code generation or it is self-created code?
thebat93 commentedon Aug 12, 2022
@alexander-akait it is a self created code. For debug purposes it has only
install,activate,fetchhooks with logs. The file is used as one of two entries for webpack. Also I use this config:thebat93 commentedon Aug 12, 2022
Here's my message in another issue
thebat93 commentedon Aug 12, 2022
And here are the errors that I'm getting when I try to change some app code and wait for hot reload. Sorry for spamming.
thebat93 commentedon Aug 12, 2022
@alexander-akait here is a minimal test repo with the issue: https://github.com/thebat93/sw-webpack-hmr
I mentioned solutions that I tried in webpack config file.
ohrrkan commentedon Aug 14, 2022
Confirm what you say @thebat93 . Your solution to bypass the issue on pack-dev-server work :
Thanks
Anubhab2003 commentedon Jan 3, 2025
Hey I am Interested in contributing this issue, How to get started ?