UNPKG

mochapack

Version:
12 lines (11 loc) 351 B
import { Compiler } from 'webpack'; export type WatchCompiler = { watch: () => void; pause: () => void; getWatchOptions: () => { aggregateTimeout: number; ignored?: RegExp | string; poll?: number | boolean; }; }; export default function createWatchCompiler(compiler: Compiler, watchOptions: {}): WatchCompiler;