Stop serving Observatory by default (#122419)
Observatory can still be enabled by providing `--serve-observatory` or invoking the `_serveObservatory` private service RPC via web socket or HTTP. Related to https://github.com/dart-lang/sdk/issues/50233
This commit is contained in:
@@ -474,7 +474,6 @@ abstract class FlutterCommand extends Command<void> {
|
||||
void addServeObservatoryOptions({required bool verboseHelp}) {
|
||||
argParser.addFlag('serve-observatory',
|
||||
hide: !verboseHelp,
|
||||
defaultsTo: true,
|
||||
help: 'Serve the legacy Observatory developer tooling through the VM service.',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user