mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Explicitly disabling hot reload for non-hot-reload web debug benchmarks (#170006)
Ensures that flipping our defaults for web hot reload won't affect our benchmarks.
This commit is contained in:
parent
68a920255a
commit
08cb3936a7
@ -71,7 +71,10 @@ Future<TaskResult> runWebBenchmark(WebBenchmarkOptions benchmarkOptions) async {
|
||||
'--web-browser-flag=--headless=new',
|
||||
'--web-browser-flag=--no-sandbox',
|
||||
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true',
|
||||
if (benchmarkOptions.withHotReload) '--web-experimental-hot-reload',
|
||||
if (benchmarkOptions.withHotReload)
|
||||
'--web-experimental-hot-reload'
|
||||
else
|
||||
'--no-web-experimental-hot-reload',
|
||||
'--no-web-resources-cdn',
|
||||
'lib/web_benchmarks_ddc.dart',
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user