@gradebook/together
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Together

Run multiple processes in a terminal

Usage

const Together = require('@gradebook/together');

// Launch your frontend and backend watch tasks simultaneously:
// The output will be piped directly to stdio.
const spawnedProcesses = new Together([
	['Run the frontend', 'yarn frontend:watch'],
	['Run the backend', 'yarn backend:watch']
]);

// No need to add handlers for SIGTERM or SIGINT, it's done automatically!
// If you need to manually shut a process group down, you can:
spawnedProcesses.shutdown();

// If you spawned multiple process groups, you can clean them all up:
Together.cleanup();

/@gradebook/together/

    Package Sidebar

    Install

    npm i @gradebook/together

    Weekly Downloads

    19

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    5.37 kB

    Total Files

    9

    Last publish

    Collaborators

    • joshcos97
    • vikaspotluri123