miso-tutorial-app icon indicating copy to clipboard operation
miso-tutorial-app copied to clipboard

Hot reload

Open madnight opened this issue 7 years ago • 2 comments

Hi, thx for this awesome work. Is there any possibility for a live reload (recompile) on file change (*.hs)?

madnight avatar May 09 '18 15:05 madnight

Yes, but you have to renew the timestamp of Main.hs to recompile the artifacts. It's because that, unlike elm-webpack-loader, the ghcjs-loader module monitors only files which are directly referred from JavaScript.

y-taka-23 avatar May 09 '18 17:05 y-taka-23

Ah good to know, okay i'll try to find a workaround then to get this done

madnight avatar May 10 '18 13:05 madnight