@digitak/esrun
Version:
Execute directly your Typescript files using Esbuild
13 lines (12 loc) • 400 B
TypeScript
import Runner from "./Runner.js";
import type { FSWatcher } from "chokidar";
import { Options } from "../types/Options.js";
export default class Watcher extends Runner {
protected watcher: FSWatcher | null;
protected watched: string[];
constructor(input: string, options?: Options);
run(): Promise<void>;
rerun(): Promise<void>;
rebuild(): Promise<void>;
watch(): void;
}