perf(tabs): improve tab switching response

This commit is contained in:
Manu Mtz.-Almeida
2016-11-28 16:00:41 +01:00
committed by Adam Bradley
parent d2ebac3d27
commit 907191bbc2
10 changed files with 67 additions and 16 deletions

View File

@@ -53,7 +53,7 @@ export function createTempTsConfig(includeGlob: string[], target: string, module
}
function removeDebugStatements() {
let replacer = new Replacer(['console.debug', 'assert']);
let replacer = new Replacer(['console.debug', 'assert', 'runInDev']);
return through.obj(function (file, encoding, callback) {
const content = file.contents.toString();
const cleanedJs = replacer.replace(content);