UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

18 lines (17 loc) 774 B
import { Socket } from 'net'; export declare let registeredFileWatcherSockets: { socket: Socket; config: { watchProjects: string[] | 'all'; includeGlobalWorkspaceFiles: boolean; includeDependencies: boolean; }; }[]; export declare function removeRegisteredFileWatcherSocket(socket: Socket): void; export declare function hasRegisteredFileWatcherSockets(): boolean; /** * The workspace watcher has died; no further change events will ever arrive. * Registered clients are passive, so without this push they wait forever. */ export declare function notifyFileWatcherSocketsOfError(error: Error): void; export declare function notifyFileWatcherSockets(createdFiles: string[] | null, updatedFiles: string[], deletedFiles: string[]): void;