Skip to content

fix(@angular/cli): ng doc doesn't open browser in Windows #23166

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 2 commits into from
May 18, 2022

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented May 18, 2022

In Windows, process.exit was being called prior of opening the browser which caused the browser never to open.

Closes #23105

@alan-agius4 alan-agius4 requested a review from clydin May 18, 2022 11:41
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels May 18, 2022
@alan-agius4 alan-agius4 marked this pull request as ready for review May 18, 2022 11:42
@alan-agius4 alan-agius4 removed the request for review from clydin May 18, 2022 12:12
In Windows, `process.exit` was being called prior of opening the browser which caused the browser never to open.

Closes angular#23105
The webpack compiler was never closed which caused Webpack's shutdown hook https://github.com/angular/angular-cli/blob/c71832f3a9942aeb2c3dbd62f6edb4f0b8366465/packages/angular_devkit/build_angular/src/webpack/configs/styles.ts#L113-L114 to never be called and in turn caused the Sass workers never to be termined.
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 18, 2022
@clydin clydin added this to the v14 milestone May 18, 2022
@alan-agius4 alan-agius4 added target: rc This PR is targeted for the next release-candidate and removed target: patch This PR is targeted for the next patch release labels May 18, 2022
@clydin clydin merged commit b716081 into angular:main May 18, 2022
@alan-agius4 alan-agius4 deleted the open-docs-windows branch May 18, 2022 17:04
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this pull request May 23, 2022
When running protractor, previously we didn't close the dev-server correctly when there was an error which caused the process to keep running following angular#23166
dgp1130 pushed a commit that referenced this pull request May 23, 2022
When running protractor, previously we didn't close the dev-server correctly when there was an error which caused the process to keep running following #23166
dgp1130 pushed a commit that referenced this pull request May 23, 2022
When running protractor, previously we didn't close the dev-server correctly when there was an error which caused the process to keep running following #23166

(cherry picked from commit 076b601)
@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 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ng doc not working
2 participants