mirror of https://github.com/sbt/sbt.git
Fix trigger bug
I got the if condition wrong which was setting the fileInputs to have a LastModified stamp.
This commit is contained in:
parent
8a456aef8a
commit
3d965799f3
|
|
@ -106,7 +106,7 @@ private[sbt] object SettingsGraph {
|
|||
.map { am =>
|
||||
am.get(scopedKey.key) match {
|
||||
case Some(globs: Seq[Glob]) =>
|
||||
if (trigger) {
|
||||
if (!trigger) {
|
||||
val stamper = am.get(inputFileStamper.key).getOrElse(FileStamper.Hash)
|
||||
val forceTrigger = am.get(watchForceTriggerOnAnyChange.key).getOrElse(false)
|
||||
globs.map(g => DynamicInput(g, stamper, forceTrigger))
|
||||
|
|
|
|||
Loading…
Reference in New Issue