class SiteWatcher
implements Watcher
import { SiteWatcher } from "https://deno.land/x/lume@v2.4.1/core/watcher.ts";
Constructors
new
SiteWatcher(site: Site)Properties
events: Events<WatchEvent>
site: Site
Methods
Add a listener to an event
dispatchEvent(event: WatchEvent)
Dispatch an event
start()
Start the watcher