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

x/drollup/src/rollup/watcher.ts>Watcher

Next-generation ES module bundler ported for Deno
Latest
class Watcher
import { Watcher } from "https://deno.land/x/drollup@2.58.0+0.20.0/src/rollup/watcher.ts";

Watcher

Constructors

new
Watcher(configs: RollupWatchOptions[], emitter: RollupWatcher)

Properties

private
buildDelay: number
private
buildTimeout: number | null
private
clearScreen: boolean
private
invalidatedIds: Map<string, string>
private
rerun: boolean
private
running: boolean
private
tasks: Task[]
emitter: RollupWatcher

Methods

private
run()
invalidate(file?: { path: string; kind: string; })