rspack
rspack copied to clipboard
[Bug]: Child HMR not working when parent component has HMR
Version
System:
OS: Linux 6.6 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
Memory: 13.55 GB / 15.59 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
npmPackages:
@rsbuild/core: ^1.5.4 => 1.5.6
@rsbuild/plugin-vue2: ^1.0.4 => 1.0.4
Details
- trigger the parent component's HMR.
- changing the child component, HMR is not working.
Reproduce link
Reproduce Steps
I encountered the same problem
When will this problem be fixed? @stormslowly
@tclxshunquan-wang @yuhengshen I had dome some studies about your reproduction, but I didn't get much clue about the root cause due to i don't know much about Vue and it's compilation.
Since Vue2 is end of life more than 1 year and We don't have much bandwidth to deal Vue2's case.
And Rsbuild has a builtin Vue3 plugin, could plz have a try with that by upgrading to Vue3?