gpui style hot reload demo project #1756
alanthinker
started this conversation in
Showcase
Replies: 1 comment
-
|
I've also developed a hot-reload layout feature. However, considering that controlling layouts via JSON is less flexible and more restrictive compared to using Rust code, this approach is better-suited for specific scenarios only. Main features implemented:
How to run: Then modify either |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've created a project demonstrating how to hot-reload styles. I hope it's helpful.
https://github.com/alanthinker/gpui_style_hot_reload
After you run the program, modifying the styles.pjson file and saving, it will immediately apply the latest styles to the UI.
Beta Was this translation helpful? Give feedback.
All reactions