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

Reloading only works when Main module is updated #150

Open
nineonine opened this issue Jul 10, 2020 · 0 comments · May be fixed by #153
Open

Reloading only works when Main module is updated #150

nineonine opened this issue Jul 10, 2020 · 0 comments · May be fixed by #153

Comments

@nineonine
Copy link

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'
            }
          }
        ]
      }
@TOTBWF TOTBWF linked a pull request Aug 10, 2020 that will close this issue
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 a pull request may close this issue.

1 participant