Commit 6c96e1a3 authored by Devon Carew's avatar Devon Carew

use the --resident option on flutter run by default (#4386)

parent 6d2d4953
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment