@Throws(IOException::class) fun watchRecursive(path: Path?): Observable<WatchEvent<*>?>? { val recursive = true return ObservableFactory(path, recursive).create() }
Creates an observable that watches the given directory and all its subdirectories . Directories that are created after subscription are watched , too .