Skip to content

Commit c679a67

Browse files
committed
Do not try to update local built files in regular frontend startup.
1 parent 5e0fda1 commit c679a67

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)