mirror of https://github.com/sbt/sbt.git
The 1.4.0 implementation of watch uses a concurrent hash map to maintain the global watch state which manages the state for an arbitrary number of clients. Using a mutable map is not idiomatic sbt and I found it difficult to reason about when the map was updated. This commit reworks the feature so that the global state is instead stored in an immutable map that is only modified during the internal watch commands, which is easier to reason about. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||