-
-
Notifications
You must be signed in to change notification settings - Fork 577
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
[Bug]: warning failed to get stats
with lazyCompilation in dev mode
#8503
Comments
Can you provide a minimal repro ? If so I can fix this in maybe several days |
@JSerFeng here. finally I find that I was using an https domain name proxy for development instead of localhost.
you can also reproduce in here I think maybe eventSource or http-server broken in lazyCompilation mode when we use domain proxy please let me know if it still need more info |
lazy-compilation has no idea of dev-server proxy, I'm thinking we should implement lazy compilation by a normal middleware instead of eventSource, I'll fix this later, thanks for investigating |
@JSerFeng Thanks for your quick reply. |
That's wired, lazy compilation almost has nothing changes since 1.0 |
That's weird. you can compare branches main(v1.0.19) and bug-lazy(v1.1.4) |
Since you are using system proxy, can you try to get DevServer instance ? If so, you can pass it to lazyCompilation configuration like:
This might solve it |
I think I misled you. I made a wrong judgment. the problem is not that I am using a domain name proxy, but there will be problems with IP access. you can try reproduce it |
System Info
Details
when i use rsbuild v1.0.19 with lazyCompilation mode.
the browser will show hmr connect and reload, and wait compilation done
But in v1.1.4 the browser will remain on the white page unless you refresh the page manually. it's a bad dev experience
Reproduce link
No response
Reproduce Steps
The text was updated successfully, but these errors were encountered: