From 6c96e1a320726d51297d204d9be5ffa2407a5700 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Mon, 6 Jun 2016 10:29:27 -0700 Subject: [PATCH] use the --resident option on flutter run by default (#4386) --- packages/flutter_tools/lib/src/commands/run.dart | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/run.dart b/packages/flutter_tools/lib/src/commands/run.dart index c00e20d676..bb0b4000ab 100644 --- a/packages/flutter_tools/lib/src/commands/run.dart +++ b/packages/flutter_tools/lib/src/commands/run.dart @@ -56,14 +56,9 @@ class RunCommand extends RunCommandBase { argParser.addOption('debug-port', help: 'Listen to the given port for a debug connection (defaults to $kDefaultObservatoryPort).'); usesPubOption(); - - // A temporary, hidden flag to experiment with a different run style. - // TODO(devoncarew): Remove this. argParser.addFlag('resident', - defaultsTo: false, - negatable: false, - hide: true, - help: 'Stay resident after running the app.'); + defaultsTo: true, + help: 'Don\'t terminate the \'flutter run\' process after starting the application.'); // Hidden option to enable a benchmarking mode. This will run the given // application, measure the startup time and the app restart time, write the