elm-lang / elm-repl

A REPL for Elm
BSD 3-Clause "New" or "Revised" License
170 stars 34 forks source link

Press Enter to recompile? #88

Open rtfeldman opened 8 years ago

rtfeldman commented 8 years ago

I used to use elm-make --output /dev/null Foo.elm" to check whether my code compiles, but that doesn't work anymore in 0.16 since--outputonly accepts.jsand.html` arguments.

My new jam is to load up elm-repl and just evaluate "" to see if my changes compile. This is fast, but feels pretty silly and clutters up my repl history.

What if instead, pressing Enter recompiled everything? Currently it does nothing and just prints the prompt again, which seems considerably less useful than this would be!