mirror of https://github.com/sbt/sbt.git
Merge pull request #4814 from eatkins/session-save
Clear meta build state on session save
This commit is contained in:
commit
ca8381e057
|
|
@ -18,6 +18,7 @@ import sbt.internal.util.{ ErrorHandling, GlobalLogBacking }
|
|||
import sbt.io.{ IO, Using }
|
||||
import sbt.protocol._
|
||||
import sbt.util.Logger
|
||||
import sbt.nio.Keys._
|
||||
|
||||
import scala.annotation.tailrec
|
||||
import scala.util.control.NonFatal
|
||||
|
|
@ -185,6 +186,8 @@ object MainLoop {
|
|||
try {
|
||||
def process(): State = {
|
||||
val newState = Command.process(exec.commandLine, state)
|
||||
if (exec.commandLine.contains("session"))
|
||||
newState.get(hasCheckedMetaBuild).foreach(_.set(false))
|
||||
val doneEvent = ExecStatusEvent(
|
||||
"Done",
|
||||
channelName,
|
||||
|
|
|
|||
Loading…
Reference in New Issue