Skip to content
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

[Feature]: How to get real-time compilation progress and send it to the client? #7728

Closed
nuintun opened this issue Aug 29, 2024 · 1 comment · Fixed by #7896
Closed

[Feature]: How to get real-time compilation progress and send it to the client? #7728

nuintun opened this issue Aug 29, 2024 · 1 comment · Fixed by #7896
Labels
feat New feature or request pending triage The issue/PR is currently untouched.

Comments

@nuintun
Copy link

nuintun commented Aug 29, 2024

What problem does this feature solve?

https://rspack.dev/zh/plugins/webpack/internal-plugins#progressplugin

The documentation mentions it, but the function does not take effect when passed in!
There is an option to enable progress in webpack-dev-server:

https://github.com/webpack/webpack-dev-server/blob/530db07435fd5c826aa105b2825324e10f2aea18/lib/Server.js#L1686

What does the proposed API of configuration look like?

Refer to the functional API of webpack.

https://github.com/webpack/webpack-dev-server/blob/530db07435fd5c826aa105b2825324e10f2aea18/lib/Server.js#L1686

@nuintun nuintun added feat New feature or request pending triage The issue/PR is currently untouched. labels Aug 29, 2024
@nuintun nuintun changed the title [Feature]: 如何获取实时编译进度并发送到客户端? [Feature]: How to get real-time compilation progress and send it to the client? Aug 30, 2024
@CPunisher
Copy link
Contributor

CPunisher commented Sep 8, 2024

Passing real-time compilation progress from rust side to js seriously regresses the performance. I think this feature will not be implemented before a efficient way is found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request pending triage The issue/PR is currently untouched.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants