Skip to content

Commit 0f7af0f

Browse files
committed
build: fix dev bundle location after updating source paths (#1735)
The dev bundle mapping was broken in 69fad33 but is trivially fixed with this update. (cherry picked from commit caa5c25)
1 parent 746b1a6 commit 0f7af0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ function getServerOptions(ctx: vscode.ExtensionContext, debug: boolean): lsp.Nod
482482
// Node module for the language server
483483
const args = constructArgs(ctx, viewEngine, vscode.workspace.isTrusted);
484484
const prodBundle = ctx.asAbsolutePath('server');
485-
const devBundle = ctx.asAbsolutePath(path.join('dist', 'server', 'server.js'));
485+
const devBundle = ctx.asAbsolutePath(path.join('dist', 'server', 'src', 'server.js'));
486486
// VS Code Insider launches extensions in debug mode by default but users
487487
// install prod bundle so we have to check whether dev bundle exists.
488488
const latestServerModule = debug && fs.existsSync(devBundle) ? devBundle : prodBundle;

0 commit comments

Comments
 (0)