Skip to content

Conversation

Julien-R44
Copy link
Member

Integrate hot-hook into the assembler

Basically, if the --hmr flag is passed, we spawn the Node subprocess with the --import=hot-hook/register hook.
We intercept received messages sent by Hot Hook from the subprocess:

  • If it's a full reload message, clear screen + log + restart http server
  • If it's an invalidation message (i.e. from HMR), then just a log

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.

2 participants