master-forker

1.0.0 • Public • Published

master-forker

Quick and dirty background process manager. Useful for speedy CI builds.

Usage

First, start the “master” server in background. Background processes will be spawned in this directory.

mf-server

mf fork «identifier» «command» «args»

Tells the master to fork and run a background process, identified by an identifier.

mf fork frontend-build npm run build:frontend
mf fork backend-test   npm run test:backend

stdout/stderr is buffered.

mf join «identifier»

Streams the stdout, stderr, and exit code of the process.

mf join frontend-build
mf fork frontend-test npm run test:frontend
mf join backend-test
mf join frontend-test

/master-forker/

    Package Sidebar

    Install

    npm i master-forker

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • dtinth