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

cmd window closes after running ng serve --open #20807

Closed
PieterjanDeClippel opened this issue May 15, 2021 · 3 comments · Fixed by #20813
Closed

cmd window closes after running ng serve --open #20807

PieterjanDeClippel opened this issue May 15, 2021 · 3 comments · Fixed by #20813

Comments

@PieterjanDeClippel
Copy link

Bug Report

Affected Package

Is this a regression?

  • @angular/cli - 11.2.13 works fine, after creating a new angular app

Description

After running ng serve --open the cmd window is closed, and you cannot terminate the ng serve session without restarting your computer.

cmd window closes after running ng serve

npm install --global @angular/cli@11.2.13
ng new nowitsfixed --style=scss --routing
ng serve --open

Now the cmd stays open

Your Environment

Angular Version:


Angular CLI: 11.2.13
Node: 14.15.1
OS: win32 x64

Angular:
...
Ivy Workspace:

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1102.13 (cli-only)
@angular-devkit/core         11.2.13 (cli-only)
@angular-devkit/schematics   11.2.13 (cli-only)
@schematics/angular          11.2.13 (cli-only)
@schematics/update           0.1102.13 (cli-only)
@petebacondarwin
Copy link
Member

Transferring to the CLI project.

@alan-agius4
Copy link
Collaborator

Related to: sindresorhus/open#236

@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 Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants