Live Reloading with jsaddle-warp

I am new to Haskell frontend development but now that ghc has the javascript backend, I decided to get started. I made a toy project using miso and jsaddle-warp. During development it’s a lot faster to not compile to js but use ghcid for fast reloading. But that way the app runs in the blank page that jsaddle-warp delivers and look’s ugly because there is no stylesheet. For now I modified jsaddle-warp to deliver a custom webpage. So I am looking for a way to lived reload a “full” app and I was hoping that some frontend developers can share their experience.

3 Likes