Skip to content

The resident compiler mode should not emit content on stdout #61542

@jakemac53

Description

@jakemac53

When running dart run -r <script>, if the resident compiler is not already active then it will emit some text on stdout telling you it has started it.

This breaks any apps which are communicating over stdin/stdout, especially using JSON-RPC2. Specifically, this breaks the dart MCP server.

These messages should only be emitted on stderr or not at all (I don't think they serve any purpose anyways, there is no action for a developer to take).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.dart-cli-runIssues related to 'dart run'

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions