Skip to content

The initial bundling has to finish before closing the process #1360

Closed
@silvenon

Description

@silvenon
  • Operating System: macOS 10.13.3
  • Node Version: 9.2.1
  • NPM Version: 5.8.0
  • webpack Version: 4.2.0
  • webpack-dev-server Version: 3.1.1
  • This is a bug
  • This is a modification request

Expected Behavior

When I precss Ctrl+C during the initial bundling I expected the process to abort.

Actual Behavior

When running webpack-dev-server through CLI, I have to wait for the initial webpack bundle to be built before I can close the process. This is not necessary for webpack-cli, so is this restriction required for webpack-dev-server?

For Bugs; How can we reproduce the behavior?

Run webpack-dev-server CLI and immediately press Ctrl+C.

For Features; What is the motivation and/or use-case for the feature?

Initial bundling can take a long time, so if you realize you made a mistake in the configuration or you're iterating through different configuration combinations, you always have to wait until the initial bundle is finished.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions