parallel-webpack
parallel-webpack copied to clipboard
How do I know if the --parallel option is working?
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