mirror of https://github.com/sbt/sbt.git
Supershell was not reliably working and I tracked it down to TaskProgress not actually publishing updates during task execution. This seemed to happen because the background task was only run once when the task started up. Once that task exited, no further task reports would be published. The fix is to start a new thread every time we enter EvaluateTask. I verified manually that it did not seem to leak threads because EvaluateTask always calls shutdown, which calls afterAllCompleted, which stops the progress thread. I also decreased the default report period to 100ms. I can't imagine that this will have a big effect on performance. It can be tuned with the sbt.supershell.sleep parameter. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||