As this answer shows it's possible in Elm 0.18 to run elm reactor
with a custom HTML file if this snippet is included in the HTML file:
<script src="/_compile/src/Main.elm"></script>
<script>
runElmProgram();
</script>
In 0.19, however, it doesn't seem like the _compile
directory exists or is served anymore. Is there another way to accomplish the same, preferably with elm reactor
so as to be able to leverage existing IDE support etc., but I'm interested in any kind of "dev server" solution.