Run parallel processes
I built this utility because it's easier managing multiple processes in one terminal window vs having a dozen open.
- Run multiple process in parallel.
- Restart procs if any files change.
- Take running processes and start them under a pearl group.
npm install pearls
In the project you want to run parallel processes, add a
app-name.prls file with content similar to this:
[master]command = node ./ --master[slave]command = node ./ --slave
In Terminal, navigate to your project directory, and call:
Pearls will add the processes to the
app-name group. You can start the process group by calling:
prls start app-name
Usage: [command] --arg=value --arg2Help:help Show help menu[cmd] help Show command help menuOptions:add Adds a command or path to .plsremove Removes a group or processstart Start a new group of processes