Skip to content

Commit bb5f41f

Browse files
authored
Do not try to update local built files in regular frontend startup. (dart-lang#8729)
1 parent c01b547 commit bb5f41f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/lib/service/entrypoint/frontend.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ class DefaultCommand extends Command {
4141
}
4242

4343
Future _main() async {
44-
await updateLocalBuiltFilesIfNeeded();
45-
final appHandler = createAppHandler();
46-
4744
if (envConfig.isRunningLocally) {
45+
await updateLocalBuiltFilesIfNeeded();
4846
await watchForResourceChanges();
4947
}
48+
final appHandler = createAppHandler();
5049
await nameTracker.startTracking();
5150
await announcementBackend.start();
5251
await topPackages.start();

0 commit comments

Comments
 (0)