UNPKG

@farmfe/core

Version:

Farm is a extremely fast web build tool written in Rust. Farm can start a project in milliseconds and perform HMR within 10ms, making it much faster than similar tools like webpack and vite.

10 lines (9 loc) 298 B
import { ResolvedUserConfig } from '../config/index.js'; export declare class ConfigWatcher { private resolvedUserConfig; private watcher; private _close; constructor(resolvedUserConfig: ResolvedUserConfig); watch(callback: (file: string[]) => void): this; close(): void; }