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]: Support handleHotUpdate hook similar to Vite #3182

Open
niksy opened this issue Aug 10, 2024 · 1 comment
Open

[Feature]: Support handleHotUpdate hook similar to Vite #3182

niksy opened this issue Aug 10, 2024 · 1 comment

Comments

@niksy
Copy link

niksy commented Aug 10, 2024

What problem does this feature solve?

Similar to Vite, Rsbuild could have easy HMR handling through some specific option. Maybe this is better implemented at lower level like Rspack and it’s exposed as option in Rsbuild.

This could also solve HMR implementation details in Unplugin scenarios such as Vue plugin HMR.

What does the proposed API look like?

Take a look at handleHotUpdate API for Vite. There are a few simple concepts that I think can be implemented in Rsbuild.

@chenjiahan
Copy link
Member

Thanks, we will investigate this feature after releasing 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants