mirror of
https://github.com/Microsoft/vscode
synced 2024-08-24 19:46:05 +00:00
no-verbose tsb build, only apply markers to closed documents
This commit is contained in:
parent
1ce8b91b69
commit
d9491c040d
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
|
@ -10,6 +10,11 @@
|
|||
"command": "./node_modules/.bin/gulp"
|
||||
},
|
||||
"isShellCommand": true,
|
||||
"options": {
|
||||
"env": {
|
||||
"VSCODE_BUILD_QUIET": "1"
|
||||
}
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
"taskName": "watch",
|
||||
|
@ -20,6 +25,7 @@
|
|||
"isWatching": true,
|
||||
"problemMatcher": {
|
||||
"owner": "typescript",
|
||||
"applyTo": "closedDocuments",
|
||||
"fileLocation": [
|
||||
"absolute"
|
||||
],
|
||||
|
|
|
@ -17,6 +17,8 @@ var util = require('./lib/util');
|
|||
var i18n = require('./lib/i18n');
|
||||
var gulpUtil = require('gulp-util');
|
||||
|
||||
var quiet = !!process.env['VSCODE_BUILD_QUIET'];
|
||||
|
||||
function log(prefix, message) {
|
||||
gulpUtil.log(gulpUtil.colors.cyan('[' + prefix + ']'), message);
|
||||
}
|
||||
|
@ -27,7 +29,7 @@ var commit = util.getVersion(root);
|
|||
var tsOptions = {
|
||||
target: 'ES5',
|
||||
module: 'amd',
|
||||
verbose: true,
|
||||
verbose: !quiet,
|
||||
preserveConstEnums: true,
|
||||
experimentalDecorators: true,
|
||||
sourceMap: true,
|
||||
|
|
Loading…
Reference in a new issue