fix: run pi worktree ext on background

This commit is contained in:
Ogulcan Celik
2026-07-25 02:54:12 +03:00
parent fc0ce8f32f
commit 0065a0ef34
-5
View File
@@ -137,10 +137,6 @@ async function startHerdrWorktree(
await runInNewPane(pi, signal, created.rootPaneId, newSessionFile, worktreePath);
if (created.workspaceId) {
await herdr(pi, ["workspace", "focus", created.workspaceId], signal, sourceCheckout, 10_000);
}
if (options.closeOldPane && oldPaneId) {
await scheduleOldPaneCleanup(pi, signal, currentFile, oldPaneId, process.pid);
}
@@ -201,7 +197,6 @@ async function createHerdrWorktree(
sourceCheckout,
"--base",
options.base || DEFAULT_BASE,
"--focus",
"--json",
];