Remove --disable-dart-dev across flutter/flutter. (#154280)
As per the Dart CLI team and @bkonyi, this is no longer providing value and we shouldn't cargo-cult it. Work towards https://github.com/flutter/flutter/issues/154268.
This commit is contained in:
@@ -187,6 +187,7 @@ Future<TaskResult> runTask(
|
||||
final Process runner = await startProcess(
|
||||
dartBin,
|
||||
<String>[
|
||||
// TODO(matanlurey): This is load bearing; see https://github.com/flutter/flutter/issues/154268#issuecomment-2318996125.
|
||||
'--disable-dart-dev',
|
||||
'--enable-vm-service=0', // zero causes the system to choose a free port
|
||||
'--no-pause-isolates-on-exit',
|
||||
|
||||
@@ -642,7 +642,7 @@ String get dartBin =>
|
||||
String get pubBin =>
|
||||
path.join(flutterDirectory.path, 'bin', 'cache', 'dart-sdk', 'bin', 'pub');
|
||||
|
||||
Future<int> dart(List<String> args) => exec(dartBin, <String>['--disable-dart-dev', ...args]);
|
||||
Future<int> dart(List<String> args) => exec(dartBin, args);
|
||||
|
||||
/// Returns a future that completes with a path suitable for JAVA_HOME
|
||||
/// or with null, if Java cannot be found.
|
||||
|
||||
Reference in New Issue
Block a user