Closed anagrius closed 2 years ago
Any leads on this?
I also have this problem (macOS, different IDE).
I think I might have this problem too
I have seen it in Atom and VSC -- this doesn't seem to be an editor artifact. i save the file, and i see the last error -- yet the file i saved actually has no errors.
it looks as if i did nothing, and yet it is now working -- this bug is very hard to adjust for by habit only.
If you're using Phoenix, they switched from brunch to webpack which works flawless for me so far.
On Mon, 13 Aug 2018, 02:39 jdewar, notifications@github.com wrote:
I have seen it in Atom and VSC -- this doesn't seem to be an editor artifact. i save the file, and i see the last error -- yet the file i saved actually has no errors.
it looks as if i did nothing, and yet it is now working -- this bug is very hard to adjust for by habit only.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/madsflensted/elm-brunch/issues/39#issuecomment-412383102, or mute the thread https://github.com/notifications/unsubscribe-auth/AFqyZPZDK4ex2zjDBXrEBDxH5FHdJHDfks5uQMq8gaJpZM4QQvMS .
Problem
Since 0.10.0 elm-brunch somehow gets out of sync with the files on disk. This results in elm-brunch --watch reporting compile errors even after the issues have been resolved.
I don't have a small isolated example. But I will try explaining the symptoms:
While working on the project and changing some things, I introduce a compile error. Most of the time, the elm-brunch is happy after having corrected the compile error. But quite often maybe like 1 of 20 times, elm-brunch gets stuck on a compile issue and will continue to report it even after the issue has been resolved.
Workaround: Restart brunch, everything compiles.
Possible causes:
Please let me know how I can provide more information. This does not occur with webpack. I will try elm-brunch 0.7.0 and report back with my findings.
Information