mirror of https://github.com/sbt/sbt.git
watch aggregated dependencies. fixes #206
This commit is contained in:
parent
dc70cb7fb9
commit
230d15cc5b
|
|
@ -224,7 +224,7 @@ object Defaults extends BuildCommon
|
|||
} join
|
||||
}
|
||||
def watchTransitiveSourcesTask: Initialize[Task[Seq[File]]] =
|
||||
inDependencies[Task[Seq[File]]](watchSources.task, const(std.TaskExtra.constant(Nil)), includeRoot = true) apply { _.join.map(_.flatten) }
|
||||
inDependencies[Task[Seq[File]]](watchSources.task, const(std.TaskExtra.constant(Nil)), aggregate = true, includeRoot = true) apply { _.join.map(_.flatten) }
|
||||
|
||||
def watchSetting: Initialize[Watched] = (pollInterval, thisProjectRef, watchingMessage, triggeredMessage) { (interval, base, msg, trigMsg) =>
|
||||
new Watched {
|
||||
|
|
|
|||
Loading…
Reference in New Issue