mysticatea / npm-run-all

A CLI tool to run multiple npm-scripts in parallel or sequential.

Repository from Github https://github.commysticatea/npm-run-allRepository from Github https://github.commysticatea/npm-run-all

--continue-on-error with mixed parallel and sequential tasks

Shingaz opened this issue · comments

In the command below, is task3 executed if task1 or task2 returns a non 0 code? I would say no based on my attempts.

npm-run-all --continue-on-error --parallel task1 task2 --sequential task3

What is the correct syntax to write a kind of try...finally? I mean task3 always running no matter if task1, task2 or both fails while returning the wort exit code (--continue-on-error behaviour).