diff --git a/main-command/src/main/scala/sbt/MainControl.scala b/main-command/src/main/scala/sbt/MainControl.scala index 4995be5bf..4a959fd19 100644 --- a/main-command/src/main/scala/sbt/MainControl.scala +++ b/main-command/src/main/scala/sbt/MainControl.scala @@ -21,7 +21,7 @@ final case class Reboot( def arguments = argsList.toArray } -case object Reload extends Exception(null, null, false, false) +private[sbt] case object Reload extends Exception(null, null, false, false) final case class ApplicationID( groupID: String, diff --git a/main/src/main/scala/sbt/nio/Watch.scala b/main/src/main/scala/sbt/nio/Watch.scala index 9a073f45b..5fd1f11a6 100644 --- a/main/src/main/scala/sbt/nio/Watch.scala +++ b/main/src/main/scala/sbt/nio/Watch.scala @@ -246,7 +246,7 @@ object Watch { * Action that indicates that the watch should pause while the build is reloaded. This is used to * automatically reload the project when the build files (e.g. build.sbt) are changed. */ - private[sbt] case object Reload extends CancelWatch + case object Reload extends CancelWatch /** * Action that indicates that we should exit and run the provided command.