Fix trigger bug

I got the if condition wrong which was setting the fileInputs to have a
LastModified stamp.
This commit is contained in:
Ethan Atkins 2019-05-09 20:08:45 -07:00
parent 8a456aef8a
commit 3d965799f3
1 changed files with 1 additions and 1 deletions

View File

@ -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))