mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Dont reload config file when package.json change is detected (#48866)
Fixes #48315
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user