UNPKG

monex

Version:

Execute one or multiple scripts, interactively or in daemon mode, and restart them whenever they crash or a watched file changes.

11 lines (10 loc) 328 B
import type { OptionsConfig, Stat } from '../types'; declare class ControllerDaemon { private controllers; kill: () => Promise<void>; ping: () => Promise<void>; start: (config: OptionsConfig) => Promise<boolean>; stat: () => Promise<Stat[]>; stop: () => Promise<void>; } export default ControllerDaemon;