UNPKG

785 BTypeScriptView Raw
1import { CrossbowConfiguration } from "./config";
2import { CrossbowInput, CLI, CrossbowReporter } from "./index";
3import Rx = require("rx");
4import { WatchTasks } from "./watch.resolve";
5import { WatchRunners } from "./watch.runner";
6import { ReportTypes } from "./reporter.resolve";
7export interface WatchersCommandError {
8 type: ReportTypes;
9}
10export interface WatchersCommandOutput {
11 watchTasks?: WatchTasks;
12 runners?: WatchRunners;
13 errors: WatchersCommandError[];
14}
15export declare type WatchersCommandComplete = Rx.Observable<{
16 setup: WatchersCommandOutput;
17}>;
18export default function handleIncomingWatchersCommand(cli: CLI, input: CrossbowInput, config: CrossbowConfiguration, reporter: CrossbowReporter): Rx.Observable<{
19 setup: WatchersCommandOutput;
20}>;