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.