Hello :wave: Got an error: ```I am experiencing E...
# kotlin-toolchain
t
Hello 👋 Got an error:
Copy code
I 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
Copy code
modules:
  - ./shared
  - ./desktop-app
  - ./android-app
desktop-app/module.yaml
Copy code
product:
  type: jvm/app

dependencies:
  - $compose.desktop.currentOs
  - $compose.material3
  - ../shared

settings:
  compose:
    enabled: true
    experimental:
      hotReload: enabled
  jvm:
    mainClass: MainKt
✅ 1
Copy code
IntelliJ 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-IJ
a
Hi there Thanks for reaching out The cryptic error message you experience has been fixed recently, but the fix hasn't been shipped into the 0.8.1 This message basically occurred because there is no more property
settings::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 quickly
we try to keep backward compatibility though, but in this case, it was easier to break things
t
Hello Anton 👋 So the
hotReload
is a thing of the past and I need to use EAP with
0.8.1
version, is that correct?
a
enabling hot reload is a thing of the past, it should work automatically without enabling
and I need to use EAP with
0.8.1
version,
correct
t
I see, thank you for the swift reply 🙇