mirror of
https://github.com/herdrdev/herdr.git
synced 2026-09-21 16:01:04 +00:00
fix: run pi worktree ext on background
This commit is contained in:
@@ -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",
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user