mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
fix(vscode): force CLI backend rebuild on F5 compile
The compile script (triggered by F5 preLaunchTask) was reusing a cached CLI binary when the source appeared unchanged. This could miss changes in dependency packages outside packages/opencode/. Pass --force to local-bin.ts so the backend is always rebuilt during a full compile.
This commit is contained in:
@@ -743,7 +743,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"prepare:cli-binary": "bun script/local-bin.ts",
|
||||
"compile": "bun run prepare:cli-binary && bun run rebuild-sdk && bun run typecheck && bun run lint && node esbuild.js",
|
||||
"compile": "bun run prepare:cli-binary -- --force && bun run rebuild-sdk && bun run typecheck && bun run lint && node esbuild.js",
|
||||
"watch": "bun run rebuild-sdk && bun run --parallel watch:esbuild watch:tsc",
|
||||
"watch:esbuild": "bun run prepare:cli-binary && node esbuild.js --watch",
|
||||
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
||||
|
||||
Reference in New Issue
Block a user