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

refactor(@angular/build): allow browser client to log console message with dev-server #29437

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

clydin
Copy link
Member

@clydin clydin commented Jan 21, 2025

The development server now supports a WebSocket event named angular:log. This event allows the browser client to send log messages back to the development server. Currently this is unused by the client and Angular runtime. But is intended to be used in the future for such cases as propagating error messages back to the development server console. This event is considered internal and should not be relied upon by external code.

@clydin clydin added the target: patch This PR is targeted for the next patch release label Jan 21, 2025
@clydin clydin force-pushed the dev-server/client-logging branch from 3ced34b to 0c698fb Compare January 21, 2025 23:18
… with dev-server

The development server now supports a WebSocket event named `angular:log`.
This event allows the browser client to send log messages back to the development
server. Currently this is unused by the client and Angular runtime. But
is intended to be used in the future for such cases as propagating error messages
back to the development server console. This event is considered internal and
should not be relied upon by external code.
@clydin clydin force-pushed the dev-server/client-logging branch from 0c698fb to e16737d Compare January 21, 2025 23:20
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Jan 28, 2025
@alan-agius4 alan-agius4 merged commit e3aa483 into angular:main Jan 28, 2025
31 checks passed
@alan-agius4
Copy link
Collaborator

The changes were merged into the following branches: main, 19.1.x

@clydin clydin deleted the dev-server/client-logging branch January 28, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/build target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants