mirror of https://github.com/sbt/sbt.git
I discovered that the metals bsp implementation worked very badly with continuous builds. The problem was that metals is able to trigger a bsp compile slightly before the continuous build would trigger. This would cause the ui to get in a bad state. The worst case was that it would actually cause sbt (or the thin client) to exit. A less catastrophic issue was that it was possible for the wrong count to be printed by the continuous message. This commit fixes the issue by more carefully managing the prompt state and only resetting the ui when the prompt is not in the Prompt.Watch state. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||