watchPaths

abstract 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.