Tom Koptel
11/10/2025, 5:30 PMI am experiencing Expected `ComposeExperimentalHotReloadSettings {..}`, but got `scalar`
I’m trying to enable hotReload in projects module desktop-app.
Here are the project configs.
project.yaml
modules:
- ./shared
- ./desktop-app
- ./android-app
desktop-app/module.yaml
product:
type: jvm/app
dependencies:
- $compose.desktop.currentOs
- $compose.material3
- ../shared
settings:
compose:
enabled: true
experimental:
hotReload: enabled
jvm:
mainClass: MainKtTom Koptel
11/10/2025, 5:31 PMIntelliJ IDEA 2025.2.4 (Community Edition)
Build #IC-252.27397.103, built on October 23, 2025
Source revision: 9b31ba2c05b47
Runtime version: 21.0.8+9-b1038.73 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.5
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering is ON
Registry:
ide.experimental.ui=true
llm.show.ai.promotion.window.on.start=false
Non-Bundled Plugins:
org.jetbrains.completion.full.line (252.27397.103)
com.intellij.notebooks.core (252.27397.109)
org.editorconfig.editorconfigjetbrains (252.27397.107)
com.intellij.properties (252.27397.107)
org.toml.lang (252.27397.109)
com.wakatime.intellij.plugin (15.0.4)
intellij.jupyter (252.27397.109)
com.intellij.mcpServer (252.27397.106)
org.jetbrains.security.package-checker (252.27397.114)
Subversion (252.27397.129)
org.jetbrains.amper (252.26199.7)
org.jetbrains.android (252.27397.103)
com.android.tools.design <tel:(252.27397.28|(252.27397.28>)
com.github.firebender.androidstudiocopilot (0.13.3)
Kotlin: 252.27397.103-IJAnton Prokhorov
11/10/2025, 5:53 PMsettings::compose::experimental::hotReload::enabled
Instead, Compose Hot Reload now works just if settings::compose::enabled is true
However, since you use the stable IDE (which is old from the Amper POV) which is supposed to work with older version of Amper, it is highly recommended to upgrade to the latest EAP when trying Amper, because otherwise this feature won't work anyway
Sorry for the inconvenience, it was conscious thing, for now Amper version is effectively bound to the IDE version, it's a limitation we have in order for us to move quicklyAnton Prokhorov
11/10/2025, 5:56 PMTom Koptel
11/10/2025, 5:56 PMhotReload is a thing of the past and I need to use EAP with 0.8.1 version, is that correct?Anton Prokhorov
11/10/2025, 5:57 PMAnton Prokhorov
11/10/2025, 5:57 PMand I need to use EAP withcorrectversion,0.8.1
Tom Koptel
11/10/2025, 6:08 PM