Stop watching for changes on a file.
If the listener is specified, only that particular listener is removed. If no listener is specified, all listeners are removed, and the file is no longer watched.
listener
The path to the file to stop watching.
Optional listener to remove.
Stop watching for changes on a file.
If the
listener
is specified, only that particular listener is removed. If nolistener
is specified, all listeners are removed, and the file is no longer watched.