From 239bb41cc29f42eec72b3ca7ad0db50e7bad1d18 Mon Sep 17 00:00:00 2001 From: Mark IJbema Date: Mon, 23 Mar 2026 12:03:50 +0100 Subject: [PATCH] chore(vscode): run bun install before F5 compile task Add a VSCode - Install task that runs bun install from the workspace root, and make VSCode - Compile depend on it. This ensures dependencies are up to date when launching the extension with F5. --- .vscode/tasks.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 2b363519d7..64a3ed53c5 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -65,6 +65,20 @@ }, "problemMatcher": [] }, + { + "label": "VSCode - Install", + "type": "shell", + "command": "bun", + "args": ["install"], + "group": "build", + "presentation": { + "reveal": "silent" + }, + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] + }, { "label": "VSCode - Compile", "type": "shell", @@ -77,6 +91,7 @@ "options": { "cwd": "${workspaceFolder}/packages/kilo-vscode" }, + "dependsOn": ["VSCode - Install"], "problemMatcher": ["$tsc", "$eslint-stylish"] }, {