Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Warnings are only reported when the module is compiled #27

Closed
ajhager opened this issue Jun 25, 2015 · 2 comments
Closed

Warnings are only reported when the module is compiled #27

ajhager opened this issue Jun 25, 2015 · 2 comments
Labels

Comments

@ajhager
Copy link

ajhager commented Jun 25, 2015

This isn't actually a bug, but a feature. The problem is that a module that has only warnings will compile correctly and so never show warnings after the first elm-make. The Main module seems to always be recompiled, but others don't.

If it weren't "elm-make --warn" but "elm-make --lint" it would make sense perhaps to force all code outside of elm-stuff to recompile so that warnings are always reported.

@tcoopman
Copy link

I've just found this out too, so just some info if someone else runs into this
I was running elm-reactorand I didn't get any warnings about unused imports when I compiled with elm-make --warn. Probably because elm-reactor had compiled the module already.

When I stopped elm-reactor and made a change to a file, then I got warnings.

@evancz
Copy link
Contributor

evancz commented May 12, 2016

Tracking from meta issue #98

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants