<monitor> ( path recursive? -- monitor )
File system change monitors

Prev:with-monitors ( quot -- )
Next:next-change ( monitor -- change )


Vocabulary
io.monitors

Inputs
patha pathname string
recursive?a boolean


Outputs
monitora new monitor


Generic word contract
Opens a file system change monitor which listens for changes on path. The boolean indicates whether changes in subdirectories should be reported.

Errors
Throws an error if the pathname does not exist, if a monitor could not be created or if the platform does not support monitors.

Definition