From 6c7f03f6f80072229d6f33ea57d7d56ab43b0426 Mon Sep 17 00:00:00 2001 From: Miguel Coba Date: Tue, 26 Aug 2014 03:50:57 +0000 Subject: [PATCH] Rise gunt-concurrent task limit. 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 --- gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gruntfile.js b/gruntfile.js index ca48bbd883..0fa6f3b5c6 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -116,7 +116,8 @@ module.exports = function(grunt) { default: ['nodemon', 'watch'], debug: ['nodemon', 'watch', 'node-inspector'], options: { - logConcurrentOutput: true + logConcurrentOutput: true, + limit: 10 } }, env: {