mirror of https://github.com/sbt/sbt.git
Switch private[sbt] status of Reload objects
The Reload exception that I added in the sbt package really wasn't intended to be public. It's only meant to be used by checkMetaBuildSources, which the users shouldn't override. I put it in the top package though because I wanted it to be next to FullReload. I also am not sure why the Reload object in Watch was private[sbt], but while writing documentation, I realized that users couldn't access it.
This commit is contained in:
parent
7948408368
commit
70899e5cad
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue