Add reload to watch commands

I have this in my global git config and think it's useful enough to
promote to the default.
This commit is contained in:
Ethan Atkins 2020-08-13 17:54:45 -07:00
parent ef34a33ac9
commit 415341ec8b
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)),