From 61c3bfe484101cdabb6bf706c635122511b2574b Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 27 Apr 2022 18:07:54 -0700 Subject: [PATCH] Dont reload config file when package.json change is detected (#48866) Fixes #48315 --- src/compiler/tsbuildPublic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index e0825db610005..280ebfcd2679b 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1896,7 +1896,7 @@ namespace ts { { createNewValue: (path, _input) => state.watchFile( path, - () => invalidateProjectAndScheduleBuilds(state, resolvedPath, ConfigFileProgramReloadLevel.Full), + () => invalidateProjectAndScheduleBuilds(state, resolvedPath, ConfigFileProgramReloadLevel.None), PollingInterval.High, parsed?.watchOptions, WatchType.PackageJson,