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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown HMR sometimes does not work #232
Comments
Thanks for the report, I'll try to look into it when I have some time. |
ouuan
added a commit
to ouuan/iles-blog
that referenced
this issue
Jul 8, 2023
This reverts 863909c. See ElMassimo/iles#232 I think this fix does not worth the trouble it causes, so revert it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
iles
andvite
.Description 馃摉
When the Markdown
<slot>
is after some kind (I'm not sure which) of island, its HMR does not work.Reproduction 馃悶
https://github.com/ouuan/iles-issue-232-reproduction
Run
pnpm dev
and editsrc/pages/index.mdx
, only the random number changes, and the Markdown content does not change.If the island and the
<slot>
are in a reversed order, orclient:load
is removed, or the prop is a fixed number, the HMR will work.The real issue is that the HMR in my blog does not work after ouuan/iles-blog@863909c, and I managed to get the above minimal reproduction.
The text was updated successfully, but these errors were encountered: