Skip to content

Allow restarting Angular proxy server without restarting the full dev server #30650

Closed as not planned
@Laffery

Description

@Laffery

Command

  • serve

Description

Currently, when using Angular CLI's development server with a proxy configuration, any change to the proxy or interruption (such as backend server restarts) requires stopping and restarting the entire dev server. This is disruptive to the development flow, especially when only the proxy needs to be reloaded or reconnected.

Describe the solution you'd like

Provide a way to restart just the proxy server without stopping the entire Angular dev server. This could be through a dedicated CLI command (e.g., ng serve --restart-proxy), a watch mode that only restarts the proxy on config change, or a single pressing to restart it manually just like following picture:

Image

This feature would streamline development involving backend APIs and reduce context-switching for developers.

Created via github copilot agent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions