mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 00:35:30 +01:00
updates
This commit is contained in:
+3
-2
@@ -288,7 +288,8 @@ async function createTranspileContext(outDir: string, excludeTests: boolean): Pr
|
||||
format: 'esm',
|
||||
target: ['es2024'],
|
||||
platform: 'neutral',
|
||||
sourcemap: isBundle ? 'external' : 'inline',
|
||||
// sourcemap: isBundle ? 'external' : 'inline',
|
||||
sourcemap: 'external',
|
||||
sourcesContent: false,
|
||||
bundle: false,
|
||||
logLevel: 'warning',
|
||||
@@ -470,7 +471,7 @@ async function watch(): Promise<void> {
|
||||
try {
|
||||
if (hasTsChanges) {
|
||||
console.log('[watch] Rebuilding TypeScript...');
|
||||
await ctx.cancel();
|
||||
// await ctx.cancel();
|
||||
await ctx.rebuild();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user