You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New endpoints added during serverpod start aren't available in the Flutter app until a hot restart #6047
When a new endpoint is added while serverpod start is running, the runner regenerates the client and hot reloads the server and the Flutter app. Calling the new endpoint from the app then fails on the client with a LateInitializationError. The call only works after a hot restart (R).
To reproduce
Create a project with serverpod create and run serverpod start with the Flutter app open.
Add a new endpoint to the server, for example lib/src/greetings/ping_endpoint.dart:
Activity