Skip to content
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

ng serve ( webpack dev server ) is not terminated and keeps zombie in the system when run from local dependencies #9705

Closed
Hotell opened this issue Feb 20, 2018 · 3 comments

Comments

@Hotell
Copy link

Hotell commented Feb 20, 2018

Versions

Angular CLI: 1.7.0
Node: 8.9.3
OS: darwin x64
Angular: 5.2.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.7.0
@angular-devkit/build-optimizer: 0.3.1
@angular-devkit/core: 0.3.1
@angular-devkit/schematics: 0.3.1
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.0
@schematics/angular: 0.3.1
@schematics/package-update: 0.3.1
typescript: 2.6.2
webpack: 3.11.0

Repro steps

ng new --skip-install -sg -it my-app && cd my-app

yarn install

yarn start --aot --open

CTRL+C

Observed behavior

image

When executing locally installed ng via npm start or yarn start

Server is not terminated and keeps running. Extensive hunt for hanging Node PID is needed, followed by killing the process with kill PID ouch!

image

when server is run via globally installed ng it is killed as expected....

Desired behavior

When yarn ng serve is terminated, it should be properly terminated

Mention any other details that might be useful (optional)

@devoto13
Copy link
Contributor

Duplicate of #9647

@filipesilva
Copy link
Contributor

Closing as duplicate of #9647.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
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

3 participants