Sha256: 84784f979671c87bfe9777eb286796bb96401d04dbe23c6d289655f33e2ba8d4

Contents?: true

Size: 1.35 KB

Versions: 5

Compression:

Stored size: 1.35 KB

Contents

/// <reference types="node" />
import { EventEmitter } from 'events';
import { CachedChunk, CachedChunkSet, InputOptions, OutputOptions } from '../rollup/index';
import { WatchOptions } from 'chokidar';
export interface WatcherOptions {
    chokidar?: boolean | WatchOptions;
    include?: string[];
    exclude?: string[];
    clearScreen?: boolean;
}
export interface RollupWatchOptions extends InputOptions {
    output?: OutputOptions;
    watch?: WatcherOptions;
}
export declare class Watcher extends EventEmitter {
    dirty: boolean;
    running: boolean;
    tasks: Task[];
    succeeded: boolean;
    constructor(configs: RollupWatchOptions[]);
    close(): void;
    _makeDirty(): void;
    _run(): void;
}
export declare class Task {
    watcher: Watcher;
    dirty: boolean;
    closed: boolean;
    watched: Set<string>;
    inputOptions: InputOptions;
    cache: CachedChunk | CachedChunkSet;
    chokidarOptions: WatchOptions;
    chokidarOptionsHash: string;
    outputFiles: string[];
    outputs: OutputOptions[];
    deprecations: {
        old: string;
        new: string;
    }[];
    filter: (id: string) => boolean;
    constructor(watcher: Watcher, config: RollupWatchOptions);
    close(): void;
    makeDirty(): void;
    run(): Promise<void>;
    watchFile(id: string): void;
}
export default function watch(configs: RollupWatchOptions[]): Watcher;

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jass-0.9.5 vendor/node_modules/rollup/dist/typings/watch/index.d.ts
jass-0.9.4 vendor/node_modules/rollup/dist/typings/watch/index.d.ts
jass-0.9.3 vendor/node_modules/rollup/dist/typings/watch/index.d.ts
condenser-0.0.4 lib/condenser/processors/node_modules/rollup/dist/typings/watch/index.d.ts
jass-0.9.1 vendor/node_modules/rollup/dist/typings/watch/index.d.ts