UNPKG

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) 380 B
import type { OptionsSingle, Stat } from '../types'; declare const Daemon: { idle: () => Promise<void>; log: (linesNr?: number) => Promise<string>; ping: () => Promise<boolean>; spawn: () => Promise<void>; start: (config?: OptionsSingle[] | string) => Promise<boolean>; stat: () => Promise<Stat[]>; stop: () => Promise<void>; }; export default Daemon;