Skip to content

Kddimitrov/fix hanging webpack process #4779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 28, 2019

Conversation

KristianDD
Copy link
Contributor

@KristianDD KristianDD commented Jun 27, 2019

PR Checklist

What is the current behavior?

There are cases when the CLI exits, but the webpack process stays alive. Most probably reproducible with TypeScript project.

What is the new behavior?

The CLI makes shure that the webpack process is killed when the celeanupService is disposed.

Fixes/Implements/Closes #[Issue Number].

@cla-bot cla-bot bot added the cla: yes label Jun 27, 2019
@rosen-vladimirov
Copy link
Contributor

test cli-templates

@rosen-vladimirov
Copy link
Contributor

test cli-templates

When we run webpack in watch mode and we receive its close event, it means the process had exited and we are not in watch mode anymore. So in this case we have to reject the current promise.
@rosen-vladimirov
Copy link
Contributor

test cli-smoke

@rosen-vladimirov rosen-vladimirov merged commit d1110ef into master Jun 28, 2019
@rosen-vladimirov rosen-vladimirov deleted the kddimitrov/fix-hanging-webpack-process branch June 28, 2019 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants