Quick and dirty background process manager. Useful for speedy CI builds.
First, start the “master” server in background. Background processes will be spawned in this directory.
mf-server
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.
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