From 60dd55348f37698255837d9e497ef9c7bc94eaa1 Mon Sep 17 00:00:00 2001 From: lihong Date: Wed, 23 Mar 2022 16:07:52 +0800 Subject: [PATCH] lihong67@huawei.com fix watch mode check. Signed-off-by: lihong Change-Id: I464a619501c564099294148e7829e12434dea942 --- compiler/src/compile_info.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/src/compile_info.ts b/compiler/src/compile_info.ts index 44994e8..4a599ea 100644 --- a/compiler/src/compile_info.ts +++ b/compiler/src/compile_info.ts @@ -152,9 +152,6 @@ export class ResultStates { }); const languageService: ts.LanguageService = createLanguageService(rootFileNames); globalProgram.program = languageService.getProgram(); - }); - - compiler.hooks.run.tapPromise('CheckSyntax', async(compiler) => { const rootProgram: ts.Program = globalProgram.program; props.push(...dollarCollection, ...decoratorParamsCollection, ...extendCollection); let allDiagnostics: ts.Diagnostic[] = rootProgram