mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 14:17:13 +02:00
Merge pull request #5748 from eatkins/watch-reload
Add reload to watch commands
This commit is contained in:
@@ -493,6 +493,7 @@ object Watch {
|
|||||||
final val defaultInputOptions: Seq[Watch.InputOption] = Seq(
|
final val defaultInputOptions: Seq[Watch.InputOption] = Seq(
|
||||||
Watch.InputOption("<enter>", "interrupt (exits sbt in batch mode)", CancelWatch, '\n', '\r'),
|
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(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('r', "re-run the command", Trigger),
|
||||||
Watch.InputOption('s', "return to shell", Prompt),
|
Watch.InputOption('s', "return to shell", Prompt),
|
||||||
Watch.InputOption('q', "quit sbt", Run(TerminateAction)),
|
Watch.InputOption('q', "quit sbt", Run(TerminateAction)),
|
||||||
|
|||||||
Reference in New Issue
Block a user