elm-community/elm-webpack-loader

8.0.0 compiles all the Elm files on a single file change

DawidJanczak opened this issue · 4 comments

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?

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

@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.

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

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 :)