From 31cd3c7b8076acec952ea2a64f4120acb93b2327 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Mon, 27 Jan 2020 13:13:02 -0800 Subject: [PATCH] [flutter_tools] fast start off by default (#49554) --- packages/flutter_tools/lib/src/commands/run.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/commands/run.dart b/packages/flutter_tools/lib/src/commands/run.dart index 10ae7f4e68..d4aea28a5a 100644 --- a/packages/flutter_tools/lib/src/commands/run.dart +++ b/packages/flutter_tools/lib/src/commands/run.dart @@ -187,9 +187,12 @@ class RunCommand extends RunCommandBase { hide: true, help: 'Whether to automatically invoke webOnlyInitializePlatform.', ) + // TODO(jonahwilliams): Off by default with investigating whether this + // is slower for certain use cases. + // See: https://github.com/flutter/flutter/issues/49499 ..addFlag('fast-start', negatable: true, - defaultsTo: true, + defaultsTo: false, help: 'Whether to quickly bootstrap applications with a minimal app. ' 'Currently this is only supported on Android devices. This option ' 'cannot be paired with --use-application-binary.'