-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Hot module replacement not working in IE #11495
Comments
Seems like event-source-polyfill needs to be added to the project and then an entry needs to be made in the webpack config for importing it before importing webpack-hot-middleware/client. If I am on the right track, would like to create a PR for it |
So isn't supported on IE or Edge according to https://caniuse.com/#feat=eventsource @saranshkataria Thank you for the debugging on this. We'd love to receive a PR! |
I will start working on it |
…11582) fixes #11495 ## Description Added event source polyfill in develop mode for IE. I am not sure how to test the CLI after making these changes, would need some pointers for that. Co-authored-by: Dustin Schau <[email protected]>
…atsbyjs#11582) fixes gatsbyjs#11495 ## Description Added event source polyfill in develop mode for IE. I am not sure how to test the CLI after making these changes, would need some pointers for that. Co-authored-by: Dustin Schau <[email protected]>
This seems to have regressed at some point. In IE11, I get the same message as in the original post: |
@JodiWarren Interesting. Let me reopen this if that's the case.
Do let us know if you manage to work this out! |
+1 this polyfill no longer works. @JodiWarren any luck tracking down if this is upstream or within Gatbsy? |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
…atsbyjs#11582) fixes gatsbyjs#11495 ## Description Added event source polyfill in develop mode for IE. I am not sure how to test the CLI after making these changes, would need some pointers for that. Co-authored-by: Dustin Schau <[email protected]>
Description
I get a console error: webpack-hot-middleware's client requires EventSource to work. You should include a polyfill if you want to support this browser: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events#Tools
Steps to reproduce
Expected result
HMR should work in IE
Actual result
HMR is not working
The text was updated successfully, but these errors were encountered: