UNPKG

monex

Version:

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

22 lines (13 loc) 319 B
/* IMPORT */ import ControllerDaemon from '~/interactive/controller_daemon'; /* HELPERS */ const controller = new ControllerDaemon (); /* MAIN */ const Procedures = { ping: controller.ping, start: controller.start, stat: controller.stat, stop: controller.kill }; /* EXPORT */ export default Procedures;