flutter/packages/flutter_tools/lib
Nicholas Shahan 7e32a77210
[flutter_tools] Enable hot reload on the web (#169174)
[flutter_tools] Enable hot reload on the web

Update the defaults so hot reload is enabled on web development builds
by default.
This enables the use of a new module representation in the compiled
JavaScript.
Passing `--no-web-experimental-hot-reload` will disable the ability to
hot reload
and return to the AMD JavaScript module representation.

This change avoids enabling hot reload in the flutter drive tests since
they rely on
`-d web-server` which has known startup issues. When
https://github.com/dart-lang/sdk/issues/60289 is
resolved it should be safe to enable hot reload by default for the
`flutter drive`
tests.

Fixes: https://github.com/flutter/flutter/issues/167510
2025-06-02 23:13:50 +00:00
..
src [flutter_tools] Enable hot reload on the web (#169174) 2025-06-02 23:13:50 +00:00
executable.dart Reverts "Add workspace (#169451)" (#169468) 2025-05-26 14:07:27 +00:00
runner.dart [tool] Fix deprecated API calls within tool (#168200) 2025-05-13 17:27:22 +00:00