DirectoryWatcher

A io.methvin.watcher.DirectoryWatcher wrapper that recursively watches a directory for changes.

Parameters

watcher

io.methvin.watcher.DirectoryWatcher instance

Constructors

Link copied to clipboard
constructor(watcher: JDirectoryWatcher)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun stop()

Stops watching for changes in the directory.

Link copied to clipboard
fun watch()

Asynchronously starts watching for changes in the directory.

Link copied to clipboard

Synchronously starts watching for changes in the directory.