generated from nhcarrigan/template
feat: CLI v2.1.68–v2.1.74 compatibility updates #221
@@ -584,6 +584,12 @@ export async function initializeTauriListeners() {
|
||||
event_type === "create" && worktree ? worktree : null
|
||||
);
|
||||
}
|
||||
|
||||
if (event_type === "create" && worktree) {
|
||||
toastStore.addInfo(`Worktree created: ${worktree.branch}`, "🌿");
|
||||
} else if (event_type === "remove") {
|
||||
toastStore.addInfo("Worktree removed", "🌿");
|
||||
}
|
||||
});
|
||||
unlisteners.push(worktreeUnlisten);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user