Skip to content

Conversation

@bondehagen
Copy link

Closes #81

@bondehagen bondehagen marked this pull request as ready for review December 25, 2025 21:56
const _REGISTRY = _$$registry();
const Example = _$$context(_REGISTRY, "Example", createContext());
if (import.meta.hot) {
import.meta.hot.data["solid-refresh"] = import.meta.hot.data["solid-refresh"] || _REGISTRY;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: even though bun uses import.meta.hot, is the behavior different from vite? as I see it, this is a bit closer to parcel.

@lxsmnsyc
Copy link
Member

Hi, thanks for contributing. As long as this is tested locally (I don't have or haven't used Bun), then I will be fine on this being added (also when the question above is answered)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Bun's HMR

2 participants