Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/levo/src/watch-file.ts>watchFile

Server side rendering with The Elm Architecture in Deno
Latest
variable watchFile
import { watchFile } from "https://deno.land/x/levo@v0.0.27/src/watch-file.ts";

type

(unnamed 0: { paths: string[]; onChange: (event: Deno.FsEvent) => void; log?: boolean; }) => Promise<{ stop: () => Promise<void>; }>