watchDirectory

abstract fun watchDirectory(path: String, callback: DirectoryWatcherCallback, recursive: Boolean = definedExternally, options: WatchOptions = definedExternally): FileWatcher(source)

Used to watch resolved module's failed lookup locations, config file specs, type roots where auto type reference directives are added