This commit is contained in:
Dream 2026-03-03 06:07:43 -06:00 committed by GitHub
commit 9208da655c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -271,7 +271,9 @@ private[sbt] object Continuous {
validateCommands(s, commands)
val configs = getAllConfigs(s, commands, dynamicInputs)
val appender = ConsoleAppender(channel.name + "-watch", channel.terminal)
val level = configs.minBy(_.watchSettings.logLevel).watchSettings.logLevel
val watchLevel = configs.minBy(_.watchSettings.logLevel).watchSettings.logLevel
val globalLevel = s.get(Keys.logLevel.key).getOrElse(Level.Info)
val level = Seq(watchLevel, globalLevel).max
context.addAppender(channel.name + "-watch", appender -> level)
aggregate(
configs,