UNPKG

@poppinss/chokidar-ts

Version:

File watcher for TypeScript projects

38 lines (37 loc) 725 B
/** * Options accepted by source files manager */ export type SourceFilesManagerOptions = { includes?: string[]; excludes?: string[]; files: string[]; }; /** * Events emitted by the watcher */ export type WatcherEvents = { 'add': { absPath: string; relativePath: string; }; 'source:add': { absPath: string; relativePath: string; }; 'change': { absPath: string; relativePath: string; }; 'source:change': { absPath: string; relativePath: string; }; 'unlink': { absPath: string; relativePath: string; }; 'source:unlink': { absPath: string; relativePath: string; }; };