Hello, I'm new to Elm and I'm having trouble with adding custom html/css to Elm reactor. I'm able to run
elm-reactor
with no issue and when I navigate to
localhost:8000 I see a list of all my files (.elm, .css, .html). I'm able to click on the name of an .elm file and see it run in the browser without styles. Likewise I can click the wrench and see same page (no css) with time travel debugging. Neither of these pages allow for hot-swapping. I have to manually refresh to see my changes.
If I click on my index.html file I see the app as a whole, but when I make changes elm-reactor does not rebuild my code.
I added
<script type="text/javascript" src="/_reactor/debug.js"></script>
and
var app = Elm.fullscreenDebug('app', 'App.elm');
This help with the css and time travel debugging, but not hot-swapping. In fact elm doesn't build my files at all.
Is there a way to get hot-swapping, time travel debugging, and css all working together?