unwatchFile
unwatchFile(
this,path,listener?):void
Defined in: src/node/async.ts:657
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.
Parameters
Section titled “Parameters”unknown
PathLike
The path to the file to stop watching.
listener?
Section titled “listener?”(curr, prev) => void
Optional listener to remove.
Returns
Section titled “Returns”void