Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot restart preview support with Local Flutter daemon server #174

Merged
merged 5 commits into from
Aug 11, 2022

Conversation

softmarshmallow
Copy link
Member

@softmarshmallow softmarshmallow commented Aug 11, 2022

You can now use local flutter daemon server to preview generated code much more faster.

By default, flutter renderer will use dart-services (same tech behind dartpad.dev), but if you run flutter daemon server via

grida flutter daemon start

It will connect to local daemon server and the preview rendering will be 10x more faster in general.
First boot up will take up to 10 seconds, this is same performance when you run flutter run initially on your local machine.

code-flutter-daemon-demo

Unfortunately, the flutter devtools cannot be integrated since the daemon does not support it.
devtools requires actual device, even chrome instance for web.

This Issue is being tracked under....

@vercel
Copy link

vercel bot commented Aug 11, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
code ✅ Ready (Inspect) Visit Preview Aug 11, 2022 at 9:40PM (UTC)

@softmarshmallow softmarshmallow merged commit 37074c1 into main Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant