fastify / fastify-dx

Archived
901 stars 42 forks source link

Solid HMR doesn't seem to work #46

Closed bskimball closed 2 years ago

bskimball commented 2 years ago

Prerequisites

Fastify version

3

Plugin version

0.0.4

Node.js version

16.15.1

Operating system

Windows

Operating system version (i.e. 20.04, 11.3, 10)

10

Description

HMR doesn't seem to be working with the Solid starter. If you make a change to a file, you can see in the console that vite is sending a hot update. However, you can see the entire app is unmounted and remounted to the dom when the update occurs.

Steps to Reproduce

install the solid starter, run dev environment and change any client file.

Expected Behavior

I expect the change to show in the browser without unmounting and remounting the main bundle

bskimball commented 2 years ago

looks like may be due to user error or another library