From aaf04b7a7391ba7055d564e5be9db5b2cf69dfa7 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Thu, 23 Jun 2016 15:48:09 -0700 Subject: [PATCH] Clean before LKG in Gulpfile --- Gulpfile.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gulpfile.ts b/Gulpfile.ts index 05b9d69f821..14e5e9f1288 100644 --- a/Gulpfile.ts +++ b/Gulpfile.ts @@ -443,7 +443,7 @@ gulp.task(builtLocalCompiler, false, [servicesFile], () => { }); gulp.task(servicesFile, false, ["lib", "generate-diagnostics"], () => { - const servicesProject = tsc.createProject("src/services/tsconfig.json", getCompilerSettings({}, /*useBuiltCompiler*/false)); + const servicesProject = tsc.createProject("src/services/tsconfig.json", getCompilerSettings({removeComments: false}, /*useBuiltCompiler*/false)); const {js, dts} = servicesProject.src() .pipe(newer(servicesFile)) .pipe(sourcemaps.init()) @@ -566,7 +566,7 @@ gulp.task("VerifyLKG", false, [], () => { gulp.task("LKGInternal", false, ["lib", "local", "lssl"]); -gulp.task("LKG", "Makes a new LKG out of the built js files", ["dontUseDebugMode"], () => { +gulp.task("LKG", "Makes a new LKG out of the built js files", ["clean", "dontUseDebugMode"], () => { return runSequence("LKGInternal", "VerifyLKG"); });