watchPaths

open override fun watchPaths(callback: PathChangeCallback): WatchHandle

Register a callback that fires with the current set of open paths whenever the path list (or selected path) changes.