Hot reload for simple projects?


#1

I’m learning Elm and working thru https://guide.elm-lang.org/.

Because I’m doing a lot of tinkering I’d like hot reload in a dev server. What is the favored solution for hot reload for really simple projects?


#2

Start with elm-webpack-starter and you’ll have a bunch out of the box.


#3

I’m always using elm-live for small projects.
Webpack is very powerful, but too involved for smaller projects for my taste.


#4

Does elm-live work with 0.19?


#5

Yes
(filler for 20 character message limit)


#6

Thanks, elm-live looks simple enough for now.

I have bookmarked the elm-webpack-starter link above for future use when I start a bigger project.


#7

I recently tried Parcel, it supports elm out of the box and requires zero config in most cases. Plus, it shows compile errors right in the browser, and is not bloated like webpack.


#8

A really nice thing about Parcel is that it performs adviced minification out of the box when building for production :sunny: it’s really easy to use too!


#9

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.