First of all, incremental builds via SBT are pretty awesome, generally in the < 1sec range. However, sometimes you have to do a full clean/compile, or, in the case of increme
Have a look at how incremental recompilation works in SBT.
It's roughly this:
For the purposes of SBT, a "dependent" is both a user of the class and a class defined in the same file.
Owen's example for foo.scala could even be this, and you'd see the issue:
object foo {
def z: Int = 8
}
object foo2 {
class A { ... }
}
Good practices: