Arne
Arne

Reputation: 8481

sbt recompiles everything, almost every time

My sbt project compiles everything almost always when I change one file. Is there a way to find out, why the incremental build fails?

9. Waiting for source changes... (press enter to interrupt)
[warn] Potentially incompatible versions of dependencies of {file:/home/arne/gitprojects/gameengine/}default-a8a2f5:
[warn]    org.scala-lang: 2.10.1, 2.10.0
[info] Compiling 1 Scala source to /home/arne/gitprojects/gameengine/target/scala-2.10/classes...
[info] Compiling 35 Scala sources to /home/arne/gitprojects/gameengine/target/scala-2.10/classes...

It is pretty annoying, because it takes a minute to compile everything, instead of just a few seconds as it should be.

Upvotes: 5

Views: 1221

Answers (1)

Martijn
Martijn

Reputation: 12092

This should be fixed Soon(tm) in sbt 13.2 when https://github.com/sbt/sbt/issues/1010 gets resolved. Before that, there is little hope.

Upvotes: 1

Related Questions