UNPKG

monex

Version:

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

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