threepenny-gui automatic reloading example
This is the accompanying code for a my blog post. You can start experimenting with it by running:
ghcid -c 'cabal new-repl' \
--reload=./Main.hs \
-T Main.mainDevel \
--restart=./threepenny-reloading-example.cabal