Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.
This repository was archived by the owner on Feb 7, 2022. It is now read-only.

How do I know if the --parallel option is working? #114

Description

@michaeljonathanblack

Explain the problem

I call parallel-webpack -p=2 but I see the following:

Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit
Starting type checking service...
Using 1 worker with 4096MB memory limit

Expected Behaviour

I'd expect only two workers to be launched at a time, I think?

Actual Behaviour

A worker is launched for every entry.

Steps to reproduce

Have more entries than parallel is set to and run it.

Provide your webpack config

It's a bit large.

Provide your Environment details

  • Node version: v14.16.1

  • Operating System: MacOS

  • webpack version: v4.44.2

  • parallel-webpack version: v2.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions