PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/nx/src/daemon/server
Просмотр файла: watcher.d.ts
/// <reference types="node" />
import type { AsyncSubscription, Event } from '@parcel/watcher';
import { Server } from 'net';
export type FileWatcherCallback = (err: Error | null, changeEvents: Event[] | null) => Promise<void>;
export declare function subscribeToOutputsChanges(cb: FileWatcherCallback): Promise<AsyncSubscription>;
export declare function subscribeToWorkspaceChanges(server: Server, cb: FileWatcherCallback): Promise<AsyncSubscription>;
export declare function subscribeToServerProcessJsonChanges(cb: () => void): Promise<AsyncSubscription>;
/**
* NOTE: An event type of "create" will also apply to the case where the user has restored
* an original version of a file after modifying/deleting it by using git, so we adjust
* our log language accordingly.
*/
export declare function convertChangeEventsToLogMessage(changeEvents: Event[]): string;
Выполнить команду
Для локальной разработки. Не используйте в интернете!