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 { ...@@ -56,14 +56,9 @@ class RunCommand extends RunCommandBase {
argParser.addOption('debug-port', argParser.addOption('debug-port',
help: 'Listen to the given port for a debug connection (defaults to $kDefaultObservatoryPort).'); help: 'Listen to the given port for a debug connection (defaults to $kDefaultObservatoryPort).');
usesPubOption(); usesPubOption();
// A temporary, hidden flag to experiment with a different run style.
// TODO(devoncarew): Remove this.
argParser.addFlag('resident', argParser.addFlag('resident',
defaultsTo: false, defaultsTo: true,
negatable: false, help: 'Don\'t terminate the \'flutter run\' process after starting the application.');
hide: true,
help: 'Stay resident after running the app.');
// Hidden option to enable a benchmarking mode. This will run the given // Hidden option to enable a benchmarking mode. This will run the given
// application, measure the startup time and the app restart time, write the // 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