mirror of https://github.com/sbt/sbt.git
While writing documentation for the watch subsystem, I realized that it's awkward to configure watch to clear the screen before task evaluation. To make this easier, I added a setting watchBeforeCommand which is an arbitrary function that will run before the watch process evaluates the command(s). I also added helper functions for adding clear screen functionality. I also realized that we weren't using the watchOnEnter or watchOnExit callbacks anywhere. I had added these to support setting up some state before watch starts and cleaning it up before it exits for plugin authors. It makes sense to remove that functionality for 1.3.0 and only if a need presents itself re-add it in a later version of sbt. I also made a few apis private[sbt] that I'm not sure about. Writing documentation made me realize that some of these are redundant and/or not ready for general consumption. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||