Permalink
Browse files

Handle removed files when skipping to recompiling all files.

  • Loading branch information...
1 parent 2428b10 commit 52b7dccff472506d509517435507df1b7251b09a @harrah committed Nov 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 compile/inc/Incremental.scala
@@ -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

0 comments on commit 52b7dcc

Please sign in to comment.