Arthur McGibbon
02/13/2025, 1:35 PMgradlew clean classes from 2 CLIs simultaneously then 1 of them will fail with missing classes issues because the other has just wiped its compilation result. I don't actually do this but I have run a CLI command at the same time as Intellij is running a build and that has caused a failure. Is there any kind of locking based on project location?Vampire
02/13/2025, 1:39 PMArthur McGibbon
02/13/2025, 2:00 PMJulien Plissonneau Duquène
02/13/2025, 3:17 PMVampire
02/13/2025, 5:23 PMrun or bootRun and then use Gradle to recompile and then hot-swap changed classes.Vampire
02/13/2025, 5:24 PMJulien Plissonneau Duquène
02/13/2025, 7:12 PMit would e.g. also be hard to have Gradle run an application for example withIn this case I would have expected the same (launched by IDE) daemon to handle background recompilation and hotswapping, does it work differently actually?orrunand then use Gradle to recompile and then hot-swap changed classes.bootRun
Vampire
02/13/2025, 8:29 PMdoes it work differently actuallyDefinitely, that daemon is still occupied by executing the
run or bootRun task and cannot do other work.
So if you want to recompile while that is running, you need to do it in another daemon.Arthur McGibbon
02/13/2025, 11:08 PM