(packageJsonPath)
| 123865 | watchFilePath(missingFilePath, missingFilePath, onMissingFileChange, ts.PollingInterval.Medium, watchOptions, ts.WatchType.MissingFile); |
| 123866 | } |
| 123867 | function watchPackageJsonLookupPath(packageJsonPath) { |
| 123868 | // If the package.json is pulled into the compilation itself (eg, via json imports), don't add a second watcher here |
| 123869 | return sourceFilesCache.has(packageJsonPath) ? |
| 123870 | ts.noopFileWatcher : |
| 123871 | watchFilePath(packageJsonPath, packageJsonPath, onPackageJsonChange, ts.PollingInterval.High, watchOptions, ts.WatchType.PackageJson); |
| 123872 | } |
| 123873 | function onPackageJsonChange(fileName, eventKind, path) { |
| 123874 | updateCachedSystemWithFile(fileName, path, eventKind); |
| 123875 | // package.json changes invalidate module resolution and can change the set of loaded files |
nothing calls this directly
no test coverage detected