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

Rise gunt-concurrent task limit. #145

Closed
wants to merge 1 commit into from
Closed

Rise gunt-concurrent task limit. #145

wants to merge 1 commit into from

Conversation

miguelcoba
Copy link
Contributor

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

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant