@haxall/haxall
    Preparing search index...

    Function unwatchFile

    • Stop watching for changes on filename. If listener is specified, only that particular listener is removed. Otherwise, all listeners are removed, effectively stopping watching of filename.

      Calling fs.unwatchFile() with a filename that is not being watched is a no-op, not an error.

      Using watch is more efficient than fs.watchFile() and fs.unwatchFile(). fs.watch() should be used instead of fs.watchFile() and fs.unwatchFile() when possible.

      Parameters

      • filename: PathLike
      • Optionallistener: StatsListener

        Optional, a listener previously attached using fs.watchFile()

      Returns void

      v0.1.31

    • Stop watching for changes on filename. If listener is specified, only that particular listener is removed. Otherwise, all listeners are removed, effectively stopping watching of filename.

      Calling fs.unwatchFile() with a filename that is not being watched is a no-op, not an error.

      Using watch is more efficient than fs.watchFile() and fs.unwatchFile(). fs.watch() should be used instead of fs.watchFile() and fs.unwatchFile() when possible.

      Parameters

      Returns void

      v0.1.31