Module

x/aleph/server/helpers.ts>watchFs

The Full-stack Framework in Deno.
Go to Latest
function watchFs
import { watchFs } from "https://deno.land/x/aleph@1.0.0-beta.1/server/helpers.ts";

Watch the directory and its subdirectories.

Parameters

rootDir: string
listener: (kind: "create" | "remove" | "modify", path: string) => void