start-split
split task pipelines for Start
Apply a different set of tasks to each directory. Partially to overcome
start-write
stripping the root
directory for cases when relative directory structure must be retained (simple typescript + mocha).
Install
npm install --save-dev start-split# or yarn add --dev start-split
Usage
;;;;;; const start = ; const task = ;
This task relies on [{ path, data, map }]
input and provides the same, see documentation for details.
Arguments
split(map, concurrent)
map
– A map of directory name to a function that returns an array of start tasks.concurrent
– Run task pipelines simultaneously usingstart-concurrent
. Defaults totrue
.