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

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

Open
michaeljonathanblack opened this issue Sep 28, 2021 · 0 comments
Open

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

michaeljonathanblack opened this issue Sep 28, 2021 · 0 comments

Comments

@michaeljonathanblack
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant