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

8.0.0 compiles all the Elm files on a single file change #213

Open
DawidJanczak opened this issue Sep 27, 2021 · 4 comments
Open

8.0.0 compiles all the Elm files on a single file change #213

DawidJanczak opened this issue Sep 27, 2021 · 4 comments

Comments

@DawidJanczak
Copy link

Hello!

We just upgraded to 8.0.0 and it looks like saving a single file causes all files to recompile. Furthermore sometimes that happens twice for some reason. Wonder if anyone else ran into this?

@FluidSense
Copy link

I am seeing the same after upgrading. Did you find any solution @DawidJanczak ?

@DawidJanczak
Copy link
Author

@FluidSense this turned out to be the same issue we had a while back: #123 The fix for that also works here, but the line number changed: commenting out https://github.com/elm-community/elm-webpack-loader/blob/master/index.js#L110 fixes this for us.

@FluidSense
Copy link

Thanks for the update! Sadly, that did not resolve the issue for me, but thanks anyway!

@DawidJanczak
Copy link
Author

That's interesting! I wonder what the difference is (and why more people don't run into this). Try commenting some more code around that if block, see if anything sticks and let us know when it does :)

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

No branches or pull requests

2 participants