Some tasks can run in parallel, for example watch tasks. It might be nice to add support for parallel execution. This could transform this:
"watch": "parallelshell 'npm run watch:javascript' 'npm run watch:less' 'npm run watch:images' 'npm run livewatch'",
"watch:javascript": "onchange 'Styleguide/**/*.js' -- npm run javascript",
"watch:less": "onchange 'Styleguide/**/*.less' -- npm run less",
"watch:images": "onchange 'resources/*' -- npm run images",
into this:
"watch": "pkgrun --parallel 'watch:*'",
"watch:javascript": "onchange 'Styleguide/**/*.js' -- npm run javascript",
"watch:less": "onchange 'Styleguide/**/*.less' -- npm run less",
"watch:images": "onchange 'resources/*' -- npm run images",
Some tasks can run in parallel, for example watch tasks. It might be nice to add support for parallel execution. This could transform this:
into this: