[flutter_tools] Generate Localizations on flutter run for web (#110526)

This commit is contained in:
Tae Hyung Kim
2022-08-31 10:42:51 -07:00
committed by GitHub
parent 34a628483c
commit 0508a1defd
3 changed files with 105 additions and 0 deletions

View File

@@ -280,6 +280,7 @@ class ResidentWebRunner extends ResidentRunner {
);
final Uri url = await device!.devFS!.create();
if (debuggingOptions.buildInfo.isDebug) {
await runSourceGenerators();
final UpdateFSReport report = await _updateDevFS(fullRestart: true);
if (!report.success) {
_logger!.printError('Failed to compile application.');