Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core/watcher.ts>Watcher

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface Watcher
import { type Watcher } from "https://deno.land/x/lume@v1.18.5/core/watcher.ts";

Methods

addEventListener(): this

Add a listener to an event

dispatchEvent(event: WatchEvent): Promise<boolean>

Dispatch an event

start(): Promise<void>

Start the watcher