当我更改一个文件时,我的 sbt 项目几乎总是编译所有内容。有没有办法找出增量构建失败的原因?
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...
这很烦人,因为编译所有内容需要一分钟,而不是应该的几秒钟。