project: Observe SshRemoteClient to get notified about state changes (#18918)

Thorsten Ball created

Release Notes:

- N/A

Change summary

crates/project/src/project.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/project/src/project.rs 🔗

@@ -732,6 +732,7 @@ impl Project {
                 }
             })
             .detach();
+            cx.observe(&ssh, |_, _, cx| cx.notify()).detach();
 
             let this = Self {
                 buffer_ordered_messages_tx: tx,