Skip to content

Commit 61c3bfe

Browse files
authored
Dont reload config file when package.json change is detected (microsoft#48866)
Fixes microsoft#48315
1 parent 9b3853d commit 61c3bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/tsbuildPublic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ namespace ts {
18961896
{
18971897
createNewValue: (path, _input) => state.watchFile(
18981898
path,
1899-
() => invalidateProjectAndScheduleBuilds(state, resolvedPath, ConfigFileProgramReloadLevel.Full),
1899+
() => invalidateProjectAndScheduleBuilds(state, resolvedPath, ConfigFileProgramReloadLevel.None),
19001900
PollingInterval.High,
19011901
parsed?.watchOptions,
19021902
WatchType.PackageJson,

0 commit comments

Comments
 (0)