当我更改一个文件时,我的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...
这非常烦人,因为编译所有内容需要一分钟,而不是仅仅几秒钟。