Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

How can I make sure I get code warnings every single time? #35

Open
aa8y opened this issue Mar 4, 2016 · 1 comment
Open

How can I make sure I get code warnings every single time? #35

aa8y opened this issue Mar 4, 2016 · 1 comment
Labels

Comments

@aa8y
Copy link

aa8y commented Mar 4, 2016

I am kinda new to Scala and this might be be an SBT thing, but I get the linter warnings only the first time I compile the code. Every subsequent compile goes thorough without any warnings. This might be because the compiled class files are not compiled again unless there are any changes, but is there a way to show the warnings every time nonetheless?

@HairyFotr
Copy link
Owner

sbt only recompiles the files that have changed since the last compile, and Linter is a compiler plugin so it only sees what the compiler sees, and doesn't have any memory of previous compilations.

One way is to do a sbt clean compile, but it will make your compile time a lot longer.

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

2 participants