purs-loader
purs-loader copied to clipboard
Fix hot reloading
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
Thanks for this. Looks good. I will give it a quick test.
This might also fix #94?