-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Dev Server 2.8 - Live bundle javascript fails to load #1080
Comments
@mtraynham there actually wasn't a big refactor, it was a linting implementation and cleanup. looking at the original code, https://github.com/webpack/webpack-dev-server/pull/1058/files#diff-7ca921e48f080bb70b26956b90f5229bL86, I'm also not sure what "Run the IFrame live bundle" is referring to. Are you speaking of the Update: it's been a while since I had to flex some jquery-foo, but the |
Kind of looked like it was calling this api.jquery.com/load function instead, I imagine because my bundle includes jQuery 3.2.1. What I meant by live-bundle iframe, I have a script tag that requests for |
(going off of the - "jquery": "^2.2.0",
+ "jquery": "^3.2.1", So that may have had something to do with it. I tested using Thanks for triaging the issue. |
Much appreciated, thank you! |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Live bundle IFrame fails to load, Chrome shows:
If the current behavior is a bug, please provide the steps to reproduce.
Run the IFrame live bundle
What is the expected behavior?
It runs correctly. Looks like you guys refactored the client heavily with #1058. The bug is here, https://github.com/webpack/webpack-dev-server/blob/master/client/live.js#L90.
iframe.load(cb)
should probably beiframe.on('load', cb)
.Please mention your webpack and Operating System version.
Linux Mint 18.3
Webpack Dev Server 2.8
Webpack 3.5
The text was updated successfully, but these errors were encountered: