mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-17 05:41:07 +01:00
Enable incremental builds to speed up updates after first build
This commit is contained in:
Vendored
+1
@@ -46,6 +46,7 @@
|
||||
".git": true,
|
||||
".build": true,
|
||||
".profile-oss": true,
|
||||
"**/*.tsbuildinfo": true,
|
||||
"**/.DS_Store": true,
|
||||
".vscode-test": true,
|
||||
"cli/target": true,
|
||||
|
||||
@@ -194,8 +194,10 @@ export function watchTask(out: string, build: boolean, srcPath: string = 'src',
|
||||
export function watchTypeCheckTask(src: string): task.StreamTask {
|
||||
const theTask = () => {
|
||||
const projectPath = path.join(import.meta.dirname, '../../', src, 'tsconfig.json');
|
||||
const generator = new MonacoGenerator(true);
|
||||
generator.execute();
|
||||
const watchInput = watch(`${src}/**`, { base: src, readDelay: 200 });
|
||||
const tsgoStream = watchInput.pipe(util.debounce(() => {
|
||||
const tsgoStream = watchInput.pipe(generator.stream).pipe(util.debounce(() => {
|
||||
const stream = createTsgoStream(projectPath, { taskName: 'watch-client-noEmit', noEmit: true });
|
||||
const result = es.through();
|
||||
stream.on('end', () => result.emit('end'));
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ export function spawnTsgo(projectPath: string, config: { taskName: string; noEmi
|
||||
}
|
||||
}
|
||||
|
||||
const args = ['tsgo', '--project', projectPath, '--pretty', 'false'];
|
||||
const args = ['tsgo', '--project', projectPath, '--pretty', 'false', '--incremental'];
|
||||
if (config.noEmit) {
|
||||
args.push('--noEmit');
|
||||
} else {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
test/**
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
esbuild*
|
||||
package-lock.json
|
||||
|
||||
@@ -7,6 +7,7 @@ server/src/**
|
||||
client/out/**
|
||||
server/out/**
|
||||
**/tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
server/test/**
|
||||
server/bin/**
|
||||
server/build/**
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
extension.webpack.config.js
|
||||
package-lock.json
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
extension.webpack.config.js
|
||||
package-lock.json
|
||||
|
||||
@@ -3,6 +3,7 @@ test-workspace/**
|
||||
src/**
|
||||
out/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
esbuild*
|
||||
CONTRIBUTING.md
|
||||
cgmanifest.json
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
test/**
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
esbuild*.mts
|
||||
package-lock.json
|
||||
|
||||
@@ -4,4 +4,5 @@ cgmanifest.json
|
||||
extension.webpack.config.js
|
||||
extension-browser.webpack.config.js
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ src/**
|
||||
test/**
|
||||
out/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
build/**
|
||||
extension.webpack.config.js
|
||||
package-lock.json
|
||||
|
||||
@@ -6,4 +6,5 @@ build/**
|
||||
extension.webpack.config.js
|
||||
extension-browser.webpack.config.js
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
package-lock.json
|
||||
|
||||
@@ -4,5 +4,6 @@ out/**
|
||||
build/**
|
||||
extension.webpack.config.js
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
package-lock.json
|
||||
testWorkspace/**
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
test/**
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
esbuild*
|
||||
package-lock.json
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
esbuild*
|
||||
package-lock.json
|
||||
|
||||
@@ -8,6 +8,7 @@ server/src/**
|
||||
client/out/**
|
||||
server/out/**
|
||||
**/tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
server/test/**
|
||||
server/bin/**
|
||||
server/build/**
|
||||
|
||||
@@ -3,6 +3,7 @@ src/**
|
||||
notebook-src/**
|
||||
out/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
extension.webpack.config.js
|
||||
extension-browser.webpack.config.js
|
||||
package-lock.json
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
esbuild*
|
||||
package-lock.json
|
||||
|
||||
@@ -2,4 +2,5 @@ test/**
|
||||
src/**/*.ts
|
||||
syntaxes/Readme.md
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
cgmanifest.json
|
||||
|
||||
@@ -6,6 +6,7 @@ server/src/**
|
||||
client/out/**
|
||||
server/out/**
|
||||
**/tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
server/test/**
|
||||
server/bin/**
|
||||
server/build/**
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test/**
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
cgmanifest.json
|
||||
|
||||
@@ -3,6 +3,7 @@ test-workspace/**
|
||||
src/**
|
||||
notebook/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
esbuild*
|
||||
out/test/**
|
||||
out/**
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
src/**
|
||||
notebook/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
esbuild*
|
||||
cgmanifest.json
|
||||
package-lock.json
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
test/**
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
esbuild*
|
||||
out/test/**
|
||||
out/**
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
esbuild*.mts
|
||||
package-lock.json
|
||||
|
||||
@@ -5,4 +5,5 @@ cgmanifest.json
|
||||
package-lock.json
|
||||
webpack.config.js
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
.gitignore
|
||||
|
||||
@@ -8,6 +8,7 @@ src/**
|
||||
.gitignore
|
||||
vsc-extension-quickstart.md
|
||||
**/tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
**/tslint.json
|
||||
**/*.map
|
||||
**/*.ts
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
src/**
|
||||
notebook/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
.gitignore
|
||||
esbuild.*
|
||||
src/**
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
src/**
|
||||
out/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
.vscode/**
|
||||
esbuild*
|
||||
package-lock.json
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
src/**
|
||||
out/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
esbuild*.mts
|
||||
package-lock.json
|
||||
|
||||
@@ -3,5 +3,6 @@ build/**
|
||||
out/test/**
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
cgmanifest.json
|
||||
.vscode
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test/**
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
cgmanifest.json
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
src/**
|
||||
out/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
esbuild*.mts
|
||||
package-lock.json
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
src/**
|
||||
out/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
esbuild*.mts
|
||||
package-lock.json
|
||||
syntaxes/generateTMLanguage.js
|
||||
|
||||
@@ -2,6 +2,7 @@ test/**
|
||||
test-workspace/**
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/test/**
|
||||
out/**
|
||||
esbuild*.mts
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
src/**
|
||||
out/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
.vscode/**
|
||||
esbuild*.mts
|
||||
package-lock.json
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
src/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
out/**
|
||||
esbuild*.mts
|
||||
package-lock.json
|
||||
|
||||
@@ -2,5 +2,6 @@ build/**
|
||||
src/**
|
||||
test/**
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
cgmanifest.json
|
||||
syntaxes/Readme.md
|
||||
|
||||
@@ -4,3 +4,4 @@ typings/**
|
||||
**/*.map
|
||||
.gitignore
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
|
||||
@@ -4,3 +4,4 @@ typings/**
|
||||
**/*.map
|
||||
.gitignore
|
||||
tsconfig*.json
|
||||
**/*.tsbuildinfo
|
||||
|
||||
Reference in New Issue
Block a user