import { WatchChild } from "https://deno.land/x/frugal@0.2.1/packages/core/watch/WatchChild.ts";
Spawn a child process, listen for messages in stdout/stderr and dispatches messages to stdin.
Constructors
new
WatchChild(cmd: string | URL, config: WatchChildConfig)Methods
addEventListener<EVENT extends EventNames<EventMap<IN_MESSAGE>>>(): () => void
Listen to messages from the child process (as json piped in stdout/stderr)