flutter/packages/flutter_tools/test/web.shard/hot_reload_web_test.dart
Nate Biggs 1d766ed8d9
Add experimental hot reload flag support to flutter tools (#162889)
Rather than ask users to pass the complicated and long string
`--extra-front-end-options=--dartdevc-canary,--dartdevc-module-format=ddc`
we want a simpler flag to enable the new DDC module system/hot reload.

Technically this flag enables the new module system, not necessarily hot
reload directly. But we only expect people to use the flag to enable hot
reload so I've chosen the name based on that.

---------

Co-authored-by: Nate Biggs <natebiggs@google.com>
2025-02-10 17:23:47 +00:00

14 lines
420 B
Dart

// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@Tags(<String>['flutter-test-driver'])
library;
import '../integration.shard/test_data/hot_reload_test_common.dart';
import '../src/common.dart';
void main() {
testAll(chrome: true, additionalCommandArgs: <String>['--web-experimental-hot-reload']);
}