Skip to content

Hot deploy stops working when code changes are made #5301

@mig-sam

Description

@mig-sam

Environment

Jmix version: 3.0.999-SNAPSHOT
Jmix Studio Plugin Version: 3.0.SNAPSHOT8375-261
IntelliJ version: IntelliJ IDEA 2026.1

Bug Description

Hot deploy has no affects on UI when code changes are made in controller, no problem with hot deploy after changes in xml descriptor. Following lines appears in console after user saves changes:

Hot deploy: BlankView.java [1905 ms]
Hot deploy compilation:
    Compiled file: com\company\hotdeploy30999\view\blank\BlankView.java
2026-05-20T14:26:08.056+04:00  INFO 32932 --- [         core-3] i.jmix.core.impl.TriggerFilesProcessor   : Calling io.jmix.flowui.view.ViewRegistry#loadViewClass(com.company.hotdeploy30999.view.blank.BlankView)
2026-05-20T14:26:13.175+04:00  INFO 32932 --- [nio-8080-exec-3] io.jmix.flowui.view.ViewRegistry         : ViewRegistry initialized in 28 ms

and some trigger file has been flashed in folder: .jmix\temp\triggers
Problem start to reproduce only after second change of code after re-launch project

Steps To Reproduce

1.Launch demo project
2.Change code in controller first time and save changes
3.Change code second time and save changes

Current Behavior

Hot deploy has no affects on UI

Expected Behavior

Hot deploy has affects on UI

Sample Project

25_hotDeploy.mp4

hotDeploy30999.zip

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

Status

Next

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions