class SiteWatcher
implements Watcher
import { SiteWatcher } from "https://deno.land/x/lume@v1.18.4/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