purs-loader icon indicating copy to clipboard operation
purs-loader copied to clipboard

Fix hot reloading

Open TOTBWF opened this issue 4 years ago • 2 comments

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

TOTBWF avatar Aug 10 '20 23:08 TOTBWF

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

ethul avatar Aug 31 '20 12:08 ethul

This might also fix #94?

jerbaroo avatar Mar 31 '21 14:03 jerbaroo