solidjs / solid-styled-components

A 1kb Styled Components library for Solid
MIT License
280 stars 26 forks source link

Styles are not updated when using HMR (hot module reloading) #25

Open kevinabeal opened 2 years ago

kevinabeal commented 2 years ago

I could turn off HMR in Vite, but some may want HMR (I don't). I simply don't have a choice but to use HMR.

When HMR is on, the styles are never updated.

My dependencies are: "solid-js": "^1.3.3" "vite": "^2.9.6", "vite-plugin-solid": "2.2.6" "solid-styled-components": "^0.28.1",