Handle removed files when skipping to recompiling all files.

This commit is contained in:
Mark Harrah 2012-11-10 18:18:15 -05:00
parent 2428b100fa
commit 52b7dccff4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ object Incremental
private[this] def expand(invalidated: Set[File], all: Set[File], log: Logger): Set[File] =
if(invalidated.size > all.size * RecompileAllFraction) {
log.debug("Recompiling all " + all.size + " sources: invalidated sources (" + invalidated.size + ") exceeded " + (RecompileAllFraction*100.0) + "% of all sources")
all
all ++ invalidated // need the union because all doesn't contain removed sources
}
else invalidated