Generates a bash command that uses concurrently to run
scripts concurrently. Adds a few flags to make it
behave as you probably want (like --kill-others-on-fail).
In addition, it adds color and labels where the color
can be specified or is defaulted and the label is based
on the key for the script.
Example
// returns a bit of a long script that can vary slightly // based on your environment... concurrent({ lint: { script:'eslint .', color:'bgGreen.white.dim', }, test:'jest', build: { script:'webpack' } })
Generates a bash command that uses
concurrently
to run scripts concurrently. Adds a few flags to make it behave as you probably want (like --kill-others-on-fail). In addition, it adds color and labels where the color can be specified or is defaulted and the label is based on the key for the script.Example