mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Fixing monaco.d.ts generation
This commit is contained in:
@@ -129,6 +129,10 @@ function monacodtsTask(out, isWatch) {
|
||||
clearTimeout(timer);
|
||||
timer = -1;
|
||||
}
|
||||
if (reporter.hasErrors()) {
|
||||
monacodts.complainErrors();
|
||||
return;
|
||||
}
|
||||
var result = monacodts.run(out);
|
||||
if (!result.isTheSame) {
|
||||
if (isWatch) {
|
||||
@@ -147,7 +151,7 @@ function monacodtsTask(out, isWatch) {
|
||||
|
||||
var resultStream = es.through(function(data) {
|
||||
var filePath = path.normalize(data.path);
|
||||
if (filesToWatchMap[filePath]) {
|
||||
if (isWatch && filesToWatchMap[filePath]) {
|
||||
runSoon(5000);
|
||||
}
|
||||
this.emit('data', data);
|
||||
|
||||
Reference in New Issue
Block a user