purs-loader
purs-loader copied to clipboard
Reloading only works when Main module is updated
For some reason reloading only works if I change Main.purs
. Having this project structure
src/
+
|
+-----+Main.purs
|
+-----+Deps/
|
+-----+Module1.purs
|
+-----+Module2.purs
recompilation/reloading is not being triggered when I change Deps.Module1.purs
or Deps.Module2.purs
, but everything works fine when I change Main.purs
my options:
{
test: /\.purs$/,
use: [
{
loader: 'purs-loader',
options: {
src: [
"src/**/*.purs"
],
spago: true,
watch: isWebpackDevServer || isWatch,
pscIde: false,
output: 'output',
bundle: true,
bundleOutput: 'dist/bundle.js'
}
}
]
}