command hygiene

This commit is contained in:
2026-02-08 12:21:15 +01:00
parent acbcc57402
commit a4b07f4fd2
3 changed files with 37 additions and 1 deletions
+4
View File
@@ -53,6 +53,8 @@ export async function startRun(
.padStart(2, "0")}`;
}, 50),
};
await vscode.commands.executeCommand("setContext", "devrun.runActive", true);
}
export async function stopRun() {
@@ -60,4 +62,6 @@ export async function stopRun() {
clearTimeout(currentRun.interval);
currentRun = null;
}
await vscode.commands.executeCommand("setContext", "devrun.runActive", false);
}