Skip to content

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