Merge pull request #5748 from eatkins/watch-reload

Add reload to watch commands
This commit is contained in:
eugene yokota 2020-08-14 12:08:04 -04:00 committed by GitHub
commit 7809bd4a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -493,6 +493,7 @@ object Watch {
final val defaultInputOptions: Seq[Watch.InputOption] = Seq(
Watch.InputOption("<enter>", "interrupt (exits sbt in batch mode)", CancelWatch, '\n', '\r'),
Watch.InputOption(4.toChar, "<ctrl-d>", "interrupt (exits sbt in batch mode)", CancelWatch),
Watch.InputOption('l', "reload the build", Reload),
Watch.InputOption('r', "re-run the command", Trigger),
Watch.InputOption('s', "return to shell", Prompt),
Watch.InputOption('q', "quit sbt", Run(TerminateAction)),