hey guys I’m playing with compose desktop , but I’...
# compose-desktop
j
hey guys I’m playing with compose desktop , but I’m really annoyed by the fact that I can’t get the preview to hotreload , does anyone have any trick ?
👀 4
d
My preview renders once, and then I can never use it again until i restart the IDE
o
@alexey.tsvetkov can you help?
d
I'm not sure if this is a problem, but the plugin version is 1.2.2 while the compose version in my app is 1.3.0-rc02
I just saw that there's a version 1.3.0-rc02 for this plugin in the snapshot repository, but I don't know how to add the snapshot repository to intellij
a
@Dragos Rachieru you can find pre-release versions of Compose Multiplatform Intellij plugin here https://plugins.jetbrains.com/plugin/16541-compose-multiplatform-ide-support/versions/snapshots
d
Can I add this repository to intellij so that I don't have to manually download it?
a
@Dragos Rachieru it should be possible, but I don’t know how. I will consult with colleagues and let you know. That being said, I would not expect the issue to be caused by using 1.2.2 IJ plugin. Can you share an example, when the preview is not updated?
d
https://github.com/85vmh/mindovercnclathe I clicked on the run button near a Preview method in the
compose
module. The plugin was showing a progress bar and then my preview was loaded, after that I modified something in the preview and tried to run the preview again but it no longer worked, it looked like it works once and then it's stuck until the next restart. Haven't tried lately, I'm not sure if it happens with every preview