Wire up hot restart and incremental rebuilds for web (#33197)
This commit is contained in:
@@ -10,6 +10,8 @@ import 'src/base/context.dart';
|
||||
// avoid introducing the dependency into google3. Not all build* packages
|
||||
// are synced internally.
|
||||
import 'src/build_runner/build_runner.dart';
|
||||
import 'src/build_runner/web_compilation_delegate.dart';
|
||||
|
||||
import 'src/codegen.dart';
|
||||
import 'src/commands/analyze.dart';
|
||||
import 'src/commands/attach.dart';
|
||||
@@ -42,6 +44,7 @@ import 'src/commands/update_packages.dart';
|
||||
import 'src/commands/upgrade.dart';
|
||||
import 'src/commands/version.dart';
|
||||
import 'src/runner/flutter_command.dart';
|
||||
import 'src/web/compile.dart';
|
||||
|
||||
/// Main entry point for commands.
|
||||
///
|
||||
@@ -94,5 +97,6 @@ Future<void> main(List<String> args) async {
|
||||
// The build runner instance is not supported in google3 because
|
||||
// the build runner packages are not synced internally.
|
||||
CodeGenerator: () => const BuildRunner(),
|
||||
WebCompilationProxy: () => BuildRunnerWebCompilationProxy(),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user