refactor sse

This commit is contained in:
d-kimsuon
2025-09-21 07:50:50 +09:00
parent f299e8f8bb
commit 7211ddeb5a
7 changed files with 20 additions and 9 deletions

View File

@@ -368,8 +368,11 @@ export class ClaudeCodeTaskController {
Object.assign(target, task);
this.eventBus.emit("taskChanged", {
aliveTasks: this.aliveTasks,
});
if (task.status === "paused" || task.status === "running") {
this.eventBus.emit("taskChanged", {
aliveTasks: this.aliveTasks,
changed: task,
});
}
}
}