Setup and configuration
Hot Reload not starting
If Compose Hot Reload fails to start, verify the following:Check version requirements
Ensure your project meets the minimum version requirements:
- Kotlin 2.1.20 or higher
- Compose compiler 2.1.20 or higher
- Compose Multiplatform 1.8.2 or higher
Verify JetBrains Runtime
Compose Hot Reload requires JetBrains Runtime. Your project must target Java 21 or earlier to be compatible with JetBrains Runtime.
Changes not being detected
If your file changes are not triggering hot reload:-
Verify file system watching is enabled: Gradle File System Watching must be enabled for Compose Hot Reload to detect changes. Check your
gradle.properties: - Check file system compatibility: If you’re on Windows using a Dev Drive (ReFS), see the known limitations page.
- Save your files: Ensure you’re actually saving files. The reload is triggered when files are saved to disk.
-
Check auto mode: If you’re using explicit mode, you need to manually trigger the reload. Consider using auto mode with
--autoReloador--autoflag.
JetBrains Runtime issues
JetBrains Runtime not found
If Gradle cannot find the JetBrains Runtime:Option 1: Use Foojay Resolver
Add the Foojay resolver to yoursettings.gradle.kts:
Option 2: Enable auto-provisioning
Enable automatic JetBrains Runtime provisioning:Option 3: Manual installation
Download and install JetBrains Runtime manually and configure your IDE to use it.Build and compilation
Build fails after adding Compose Hot Reload
If your build fails after adding the Compose Hot Reload plugin:-
Clean build: Try cleaning your build first:
- Check for conflicting plugins: Ensure you don’t have conflicting Compose plugins. If you’re using an Android-only project, see the FAQ.
-
Verify JVM target: Ensure your project targets Java 21 or earlier:
Compilation errors after hot reload
If you encounter compilation errors that only appear during hot reload:- Restart the application: Some changes require a full restart. This is particularly true for changes to global state.
- Check for global state issues: See the global state limitations for more information.
Performance issues
Slow reload times
If hot reload is taking too long:-
Use incremental compilation: Ensure Gradle incremental compilation is enabled:
-
Increase Gradle memory: Add to your
gradle.properties: -
Enable configuration cache: In your
gradle.properties: -
Disable unnecessary dev tools: If you don’t need the dev tools UI, run in headless mode:
High memory usage
If you’re experiencing high memory usage:-
Adjust Gradle daemon memory: Modify
org.gradle.jvmargsingradle.properties -
Restart the Gradle daemon periodically:
IDE integration
Run button not showing in gutter
If you don’t see the Compose Hot Reload run option in the IDE gutter:- Install Kotlin Multiplatform plugin: Ensure you have the Kotlin Multiplatform IDE plugin installed.
- Use minimum IDE version: Use IntelliJ IDEA 2025.2.2 or higher, or Android Studio Otter 2025.2.1 or higher.
- Manually create run configuration: If the plugin is not available, manually create a Gradle run configuration with the hot reload tasks.
Desktop-only projects
For desktop-only Compose Multiplatform projects, you cannot start the application via the run button in the gutter (CMP-3123). Use Gradle tasks instead.
Debugging
Enable debug logging
To get more information about what Compose Hot Reload is doing, enable debug logging:gradle.properties:
Check orchestration connection
Compose Hot Reload uses an orchestration server to communicate between components. If you’re experiencing connection issues, check the console output for connection-related messages.Getting help
If you’re still experiencing issues:- Check the known limitations page
- Search existing issues on GitHub
- Report a new issue
- Ask in the discussions forum