Skip to content

Commit

Permalink
Try process limiting
Browse files Browse the repository at this point in the history
  • Loading branch information
rajsite committed May 1, 2024
1 parent 9c895aa commit d362311
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/concurrently-workspace/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrently(workspaces.map((workspace) => ({
})), {
cwd: workingDirectory,
group: true,
timings: true
timings: true,
maxProcesses: 2
}).result.catch(e => {
console.error('Commands had non-zero exit codes');
process.exit(1);
Expand Down

0 comments on commit d362311

Please sign in to comment.