typestyle / typestyle

Making CSS Typesafe 🌹

Home Page:https://typestyle.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HMR when using webpack?

snaptopixel opened this issue · comments

Is there a way to get hot module reloading in webpack? At the moment if I change styles I have to fully reload the page when running webpack-serve...

I figured it out, thanks!

Hey @snaptopixel could you post your findings here so that others with a similar question in the future can get sorted out as well?

Sure, the problem wasn't with typestyle, it was an edge case (using Vue with Typescript files instead of vue files) I had to set up my own hot-reloading solution.