| 123829 | return parsedCommandLine; |
| 123830 | } |
| 123831 | function onReleaseParsedCommandLine(fileName) { |
| 123832 | var _a; |
| 123833 | var path = toPath(fileName); |
| 123834 | var config = parsedConfigs === null || parsedConfigs === void 0 ? void 0 : parsedConfigs.get(path); |
| 123835 | if (!config) |
| 123836 | return; |
| 123837 | parsedConfigs.delete(path); |
| 123838 | if (config.watchedDirectories) |
| 123839 | ts.clearMap(config.watchedDirectories, ts.closeFileWatcherOf); |
| 123840 | (_a = config.watcher) === null || _a === void 0 ? void 0 : _a.close(); |
| 123841 | ts.clearSharedExtendedConfigFileWatcher(path, sharedExtendedConfigFileWatchers); |
| 123842 | } |
| 123843 | function watchFilePath(path, file, callback, pollingInterval, options, watchType) { |
| 123844 | return watchFile(file, function (fileName, eventKind) { return callback(fileName, eventKind, path); }, pollingInterval, options, watchType); |
| 123845 | } |