-
-
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
devServer ignore port param when load chunks #1717
Comments
@esomkin please create minimum reproducible test repo, all works fine for me |
@evilebottnawi Here is reproducible demo https://github.com/esomkin/repo. |
This issue is majorly affecting our productivity as HMR is completely non-functional. Any ETA on this bug? I see it is set for the 3.4 milestone, it seems to me like a significant bug that should be resolved in a minor release. |
@jeffreymb we have many issues, if you want fix it asap - PR welcome |
@evilebottnawi could you reproduce this? The problem as I understand it is that if you go to |
@Loonride i don't look this issue (many work right now), feel free to investigate and send a PR with fix |
@esomkin @jeffreymb I can't reproduce problem |
Also all work fine on latest version and master, so i am closing issue due it does not reproducible, anyway feel free to feedback and post link on new reproducible test repo, thanks |
@Loonride @evilebottnawi This is definitely a real bug, I've been struggling with it for the past 2 hours. I have a defined host of I'll dig through the dev server code and submit a PR if I find the line causing this. Update: |
Also, for debugging purposes, my Webpack config looks like this for output/dev-server:
Output files are loaded via a Django server running on port 8000 and since only dynamically imported files are failing, my gut tells me it's WDS. |
@seancrater Does specifying an exact output See #1385 (comment) |
@Loonride worked great! Thank you very much! Kinda sucks but it seems like your PR in there should fix this anyway! 😄 |
Code
Expected Behavior
Load chunk from http://domain:8080/build/0.js
Actual Behavior
Try load chunk from http://domain/build/0.js
For Bugs; How can we reproduce the behavior?
Simply create react environment with dynamic import support
For Features; What is the motivation and/or use-case for the feature?
The text was updated successfully, but these errors were encountered: