Skip to content

Commit aaf04b7

Browse files
committed
Clean before LKG in Gulpfile
1 parent 41aacf2 commit aaf04b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Gulpfile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ gulp.task(builtLocalCompiler, false, [servicesFile], () => {
443443
});
444444

445445
gulp.task(servicesFile, false, ["lib", "generate-diagnostics"], () => {
446-
const servicesProject = tsc.createProject("src/services/tsconfig.json", getCompilerSettings({}, /*useBuiltCompiler*/false));
446+
const servicesProject = tsc.createProject("src/services/tsconfig.json", getCompilerSettings({removeComments: false}, /*useBuiltCompiler*/false));
447447
const {js, dts} = servicesProject.src()
448448
.pipe(newer(servicesFile))
449449
.pipe(sourcemaps.init())
@@ -566,7 +566,7 @@ gulp.task("VerifyLKG", false, [], () => {
566566

567567
gulp.task("LKGInternal", false, ["lib", "local", "lssl"]);
568568

569-
gulp.task("LKG", "Makes a new LKG out of the built js files", ["dontUseDebugMode"], () => {
569+
gulp.task("LKG", "Makes a new LKG out of the built js files", ["clean", "dontUseDebugMode"], () => {
570570
return runSequence("LKGInternal", "VerifyLKG");
571571
});
572572

0 commit comments

Comments
 (0)