@graphprotocol/graph-cli
Version:
CLI for building for and deploying to The Graph
16 lines (15 loc) • 387 B
TypeScript
export default class Watcher {
private onReady;
private onTrigger;
private onCollectFiles;
private onError;
private watcher;
constructor(options: {
onReady: () => void;
onTrigger: (arg: any) => void;
onCollectFiles: () => Promise<string[]>;
onError: (error: Error) => void;
});
watch(): Promise<void>;
close(): void;
}