To run in development, first ensure craconapi
is running, then compile:
src/
elm make Main.elm --output ../public/js/app.js --debug --warn
cd ../public
and run alfred
or something to serve the filesThis can be nice: while :; do clear; your_command; sleep 2; done
Or this if you have elm-live
installed:
elm-live Main.elm --output=../public/js/app.js --dir=../public --open --pushstate --debug --warn