Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reload #1

Open
madnight opened this issue May 9, 2018 · 2 comments
Open

Hot reload #1

madnight opened this issue May 9, 2018 · 2 comments

Comments

@madnight
Copy link

madnight commented May 9, 2018

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

@y-taka-23
Copy link
Owner

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.

@madnight
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants