Add test sources to scriptedUnpublished/watchTriggers

This commit is contained in:
Ethan Atkins 2020-01-11 16:56:04 -08:00
parent 2f99797bac
commit 7a36a6f9ea
1 changed files with 1 additions and 0 deletions

View File

@ -1210,6 +1210,7 @@ def otherRootSettings =
scriptedUnpublished := scriptedUnpublishedTask.evaluated,
scriptedSource := (sourceDirectory in sbtProj).value / "sbt-test",
watchTriggers in scripted += scriptedSource.value.toGlob / **,
watchTriggers in scriptedUnpublished += scriptedSource.value.toGlob / **,
scriptedLaunchOpts := List("-Xmx1500M", "-Xms512M", "-server") :::
(sys.props.get("sbt.ivy.home") match {
case Some(home) => List(s"-Dsbt.ivy.home=$home")