Skip to content

1.2.1

Compare
Choose a tag to compare
@georgesboris georgesboris released this 06 Sep 18:06
· 18 commits to main since this release

elm-hot compatibility

This patch version contains a significant refactor of the underlying code so elm-book is now compatible with elm-hot. All user-facing options are now stored in the init clojure and completely left out of our model, which enables hot module reloading, as per @gampleman 's explanation on #6 .

However, the current built-in elm-live setup is not set up for elm-hot. It should work for custom setup using elm-live, parcel, vite, webpack, etc.

I'll refactor the built-in webserver to both handle elm-hot and stop generating that obnoxious index.html on the root folder on a follow-up release.