UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

13 lines 858 B
import { type IntlayerConfig } from '@intlayer/config'; /** @ts-ignore remove error Module '"chokidar"' has no exported member 'ChokidarOptions' */ import { type ChokidarOptions } from '../chokidar'; export declare const handleAdditionalContentDeclarationFile: (filePath: string, configuration?: IntlayerConfig) => Promise<void>; export declare const handleUnlikedContentDeclarationFile: (filePath: string, configuration?: IntlayerConfig) => Promise<void>; export declare const handleContentDeclarationFileChange: (filePath: string, configuration?: IntlayerConfig) => Promise<void>; type WatchOptions = ChokidarOptions & { configuration?: IntlayerConfig; }; export declare const watch: (options?: WatchOptions) => any; export declare const buildAndWatchIntlayer: (options?: WatchOptions) => Promise<void>; export {}; //# sourceMappingURL=watcher.d.ts.map