Add scripted watchTriggers

This allows the scripted test files to trigger a continuous scripted
build.
This commit is contained in:
Ethan Atkins 2019-05-25 11:28:34 -07:00
parent b6f02b9b8c
commit e6d2b32902
1 changed files with 1 additions and 0 deletions

View File

@ -895,6 +895,7 @@ def otherRootSettings =
scripted := scriptedTask.evaluated,
scriptedUnpublished := scriptedUnpublishedTask.evaluated,
scriptedSource := (sourceDirectory in sbtProj).value / "sbt-test",
watchTriggers in scripted += scriptedSource.value.toGlob / **,
scriptedLaunchOpts := List("-Xmx1500M", "-Xms512M", "-server"),
publishAll := { val _ = (publishLocal).all(ScopeFilter(inAnyProject)).value },
publishLocalBinAll := { val _ = (publishLocalBin).all(ScopeFilter(inAnyProject)).value },