onModified


Description:

public FileWatcher onModified (owned WatchCallback fn)

Registers callback fired on modify event.

Parameters:

fn

callback.

Returns:

this watcher.