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

Fix hot reloading #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix hot reloading #153

wants to merge 1 commit into from

Conversation

TOTBWF
Copy link

@TOTBWF TOTBWF commented Aug 10, 2020

Fixes #150 and #149.

Previously, changes to non-Main purescript files would not trigger hot reloading.
This is because the files were not registered with addDependency, so they
didn't trigger rebuilds.

See https://webpack.js.org/api/loaders/#thisadddependency
and https://webpack.js.org/contribute/writing-a-loader/#loader-dependencies

Previously, changes to non-`Main` purescript files would not trigger hot reloading.
This is because the files were not registered with `addDependency`, so they
didn't trigger rebuilds.

See https://webpack.js.org/api/loaders/#thisadddependency
and https://webpack.js.org/contribute/writing-a-loader/#loader-dependencies
@ethul
Copy link
Owner

ethul commented Aug 31, 2020

Thanks for this. Looks good. I will give it a quick test.

@jerbaroo
Copy link

This might also fix #94?

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

Successfully merging this pull request may close these issues.

Reloading only works when Main module is updated
3 participants