Skip to content

Commit

Permalink
Dont reload config file when package.json change is detected (#48866)
Browse files Browse the repository at this point in the history
Fixes #48315
  • Loading branch information
sheetalkamat committed Apr 28, 2022
1 parent 9b3853d commit 61c3bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/tsbuildPublic.ts
Expand Up @@ -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,
Expand Down

0 comments on commit 61c3bfe

Please sign in to comment.