Module

std/node/fs.ts>watchFile

Deno standard library
Go to Latest
function watchFile
import { watchFile } from "https://deno.land/std@0.166.0/node/fs.ts";

Parameters

filename: string | Buffer | URL
listener: WatchFileListener

Returns

StatWatcher

Parameters

filename: string | Buffer | URL
options: WatchFileOptions
listener: WatchFileListener

Returns

StatWatcher
import watchFile
import { watchFile } from "https://deno.land/std@0.166.0/node/fs.ts";