[1.7.0] ng serve not properly killed on CTRL+C with yarn/npm
See original GitHub issueVersions
Angular CLI: 1.7.0
Node: 6.9.5
OS: linux 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.5.3
webpack: 3.11.0
Repro steps
- create project with ng new
- run yarn start or npm start
- hit ctrl-c
Observed behavior
the ng process is still running
Desired behavior
The ng process should be stopped. It is stopped with v1.6.8 but not with v1.7.0
Mention any other details that might be useful (optional)
It happens also with node 8, with yarn or npm. The version of those did not change: only switching between v1.6.8 and v1.7.0 exhibits the problem.
When running ng serve
by hand, surprisingly hitting ctrl+c does not stop the ng process, but you have to hit ctrl+c again for it to happen!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:32
- Comments:15 (3 by maintainers)
Top Results From Across the Web
ng serve --open reports port 4200 is already in use when it isn't
Step 4: Stop your server properly. Don't forget now to close properly your server by using Ctrl + C and typing Y: That's...
Read more >Ctrl + C - not killing the process node server - Ionic Cli 4 beta
I'm having issue with ionic 4 serve. By serving project with ionic serve, first time it serves with default port 8100. After ctrl...
Read more >Changelog - Cypress Documentation
Fixed an issue with Angular Component Testing where urls within SASS/SCSS files were not being correctly resolved which could result in incomplete styling....
Read more >Getting Started — OpenSphere latest documentation
(Not necessary if you followed the yarn instructions above). Clone opensphere, then change directory to the clone. Run npm install .
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
(was: =dev-java/jdbm-1.0 is available)" status:RESOLVED resolution:OBSOLETE severity:enhancement · Bug:107027 - "dev-vcs/cvsd init script for is not ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
killall ng
Try
ctrl + shift + c