gridaco / code

Design to Code Engine
https://grida.co/code
Apache License 2.0
225 stars 30 forks source link

Hot restart preview support with Local Flutter daemon server #174

Closed softmarshmallow closed 2 years ago

softmarshmallow commented 2 years ago

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[bot] commented 2 years ago

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)