Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Handle removed files when skipping to recompiling all files.

  • Loading branch information...
commit 52b7dccff472506d509517435507df1b7251b09a 1 parent 2428b10
@harrah authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  compile/inc/Incremental.scala
View
2  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.
Something went wrong with that request. Please try again.