gulp-multi-process
gulp-multi-process copied to clipboard
Allow specifying exact number of CPU cores to use
When running builds in containerized environments, the require('os').cpus().length will return the number of cores on the host machine, not the number of cores available to your container.
This change allows you to pass in a number as the 3rd parameter, for the number of cores you'd like to utilize.