Skip to main content
FSWatcher.close - fs - Node documentation
method FSWatcher.close

Usage in Deno

import { type FSWatcher } from "node:fs";
FSWatcher.close(): void

Stop watching for changes on the given fs.FSWatcher. Once stopped, the fs.FSWatcher object is no longer usable.

Return Type

void