View source
enum abstract FSWatcherEvent<T>(Event<T>)
package js.node.fs
to Event<T>
import js.node.fs.FSWatcher
Enumeration of the events emitted by FSWatcher
.
Variables
inlineread onlyChange:FSWatcherEvent<(FSWatcherChangeType, FsPath) ‑> Void> = "change"
Emitted when something changes in a watched directory or file. See more details in Fs.watch
.
Listener arguments:
event - The type of fs change
filename - The filename that changed (if relevant/available)