diff --git a/crates/ely_browser_core/src/state/commands.rs b/crates/ely_browser_core/src/state/commands.rs
index 1012eeb..ba30ac1 100644
--- a/crates/ely_browser_core/src/state/commands.rs
+++ b/crates/ely_browser_core/src/state/commands.rs
@@ -216,6 +216,9 @@ impl BrowserCore {
"sleep-tab-group" | "sleep tab group" | "discard-tab-group" | "discard tab group" => {
Ok(self.discard_active_tab_group()?.is_some())
}
+ "refresh-tab-group" | "refresh tab group" | "reload-tab-group" | "reload tab group" => {
+ Ok(self.refresh_active_tab_group()?.is_some())
+ }
"close-tab-group" | "close tab group" | "archive-tab-group" | "archive tab group" => {
Ok(self.close_active_tab_group()?.is_some())
}
diff --git a/crates/ely_browser_core/src/state/tab_groups.rs b/crates/ely_browser_core/src/state/tab_groups.rs
index 757e8d9..c3f8ff5 100644
--- a/crates/ely_browser_core/src/state/tab_groups.rs
+++ b/crates/ely_browser_core/src/state/tab_groups.rs
@@ -93,6 +93,19 @@ impl BrowserCore {
Ok(Some(tab_ids.len()))
}
+ pub fn refresh_active_tab_group(&mut self) -> Result