Filter out dummy tasks from progress

I don't think that dummy tasks really make sense for task progress
because they are evaluated outside of the normal task evaluation. This
came up because I was seeing streams-manager in supershell which didn't
seem useful.
This commit is contained in:
Ethan Atkins 2019-09-24 10:30:32 -07:00
parent f0bec6d9e3
commit edd21b0ec8
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ private[sbt] final class TaskProgress(log: ManagedLogger)
private[this] val skipReportTasks =
Set("run", "bgRun", "fgRun", "scala", "console", "consoleProject", "consoleQuick", "state")
private[this] def report(): Unit = {
val currentTasks = activeTasks.toVector
val currentTasks = activeTasks.toVector.filterNot(Def.isDummy)
val ltc = lastTaskCount.get
val currentTasksCount = currentTasks.size
def report0(): Unit = {