forked from continuedev/continue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vscode: Ensure extension.js is rebuilt when deleted
Right now, the vscode-extension:continue-ui:build task deletes extension.js as part of its prepackage.js script. This wouldn't normally be a problem, because extension.js is generated by the vscode-extension:esbuild, and vscode-extension:continue-ui:build is a dependency of vscode-extension:esbuild, implying it should always get run first. But, vscode-extension:esbuild is a background task, that stays running after it's been started once. Future calls to run that task become no-ops, because it's already active. This means running vscode-extension:esbuild -> vscode-extension:continue-ui:build -> vscode-extension:esbuild will lead to the last vscode-extension:esbuild not regenerating extension.js. In order to resolve that problem, this commit adds a new foreground task into the build pipeline: vscode-extension:esbuild-notify that tickles the watching background task to wake up and regenerate extension.js
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters