Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Rise gunt-concurrent task limit.
Browse files Browse the repository at this point in the history
Fixes issue with default value for grunt-concurrent limit in machines with few cpu/cores.

From grunt-concurrent docs:

	limit

	Type: Number
	Default: Number of CPU cores (require('os').cpus().length) with a minimum of 2

	Limit of how many tasks that are run concurrently.

In machines with few cpus/cores, the default limit of 2 the 'grunt debug' task
can't start enough tasks for starting the node-inspector task, so the command fails
and the capp can't be debugged.

Fixes issue #144
  • Loading branch information
miguelcoba committed Aug 26, 2014
1 parent 2c319c5 commit 6c7f03f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ module.exports = function(grunt) {
default: ['nodemon', 'watch'],
debug: ['nodemon', 'watch', 'node-inspector'],
options: {
logConcurrentOutput: true
logConcurrentOutput: true,
limit: 10
}
},
env: {
Expand Down

0 comments on commit 6c7f03f

Please sign in to comment.