diff --git a/io/src/main/scala/sbt/internal/io/EventMonitor.scala b/io/src/main/scala/sbt/internal/io/EventMonitor.scala index 324fcbd9..3e74106f 100644 --- a/io/src/main/scala/sbt/internal/io/EventMonitor.scala +++ b/io/src/main/scala/sbt/internal/io/EventMonitor.scala @@ -186,6 +186,7 @@ private[sbt] object EventMonitor { logger: Logger): Looper = new Looper(s"watch-state-user-input-${userInputId.incrementAndGet}") { override final def loop(): Unit = { + Thread.sleep(10) if (terminationCondition) { logger.debug("Received termination condition. Stopping watch...") events.peek match {