interface OutputProcess {
    action: ((stdout, stderr, signal) => Promise<void>);
    prefix: string;
}

Properties

Properties

action: ((stdout, stderr, signal) => Promise<void>)

A callback to invoke the process. Stdout and stderr should be used to send standard output and error data that gets formatted with the right prefix.

Type declaration

    • (stdout, stderr, signal): Promise<void>
    • Parameters

      Returns Promise<void>

prefix: string

The prefix to include in the logs [vite] Output coming from Vite.