Show stderr output from failing task

Author: JoshuaKGoldbergCreated Feb 21, 2018Updated May 5, 2025
Labelspull request welcome

I'm using concurrently for a CI job on VSTS to run a bunch of tasks in parallel and fail fast if one does.

json
{
    "scripts": {
        "verify": "concurrently \"npm run build\" \"npm run lint\" \"npm run lint\" --kill-others-on-fail"
    }
}

If the task fails, npm just logs the root-level "concurrently failed!" without any info on which one. Not very useful for CI logs.

What would be useful is, if a task fails, concurrently were to print its output (either stderr+stdout or just stederr).

Source: open-cli-tools/concurrently