monex
Version:
Execute one or multiple scripts, interactively or in daemon mode, and restart them whenever they crash or a watched file changes.
12 lines (11 loc) • 346 B
TypeScript
import type { OptionsMultiple, Stat } from '../types';
declare class ControllerMultiple {
private controllers;
private options;
constructor(options: OptionsMultiple);
restart: () => Promise<void>;
start: () => Promise<void>;
stat: () => Promise<Stat[]>;
stop: () => Promise<void>;
}
export default ControllerMultiple;