A CLI tool to run multiple npm-scripts in parallel or sequential.
--aggregate-output
option does not work if child tasks print large output (#111). Thank you, @jlopezxs!--aggregate-output
option does not work on npm-run-all
command.yarn
(#113).--aggregate-output
option. This option avoids that the output of tasks is mixed even if parallel mode. Don't use this option if a task never finishes (e.g. web server, file watching, ...).npm-run-all
shows MaxListenersExceededWarning
warnings if it runs many tasks in parallel.:bamboo: A happy new year! :bamboo:
npm
. Before, it was using npm
command which is in environment variable PATH
. Now, it uses the path of environment variable NPM_EXECPATH
. If the NPM_EXECPATH
is not defined, it uses the old way.NPM_EXECPATH
is set by npm in npm run-script
command. This implies that npm-run-all
uses npm
which is running itself to run tasks.
yarn
. yarn run
set the NPM_EXECPATH
as similar to npm run-script
.--max-parallel
option. You can limit the number of parallelism by this option.--npm-path
option. You can specify the path of npm
by this option. For example, npm-run-all foo --npm-path npm
keeps the old behavior.--print-label
option. Thank you, @nulltask !