trivago / parallel-webpack

Builds multi-config webpack projects in parallel
BSD 3-Clause "New" or "Revised" License
1.48k stars 96 forks source link

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

Open michaeljonathanblack opened 3 years ago

michaeljonathanblack commented 3 years ago

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