Open demkom58 opened 6 months ago
@demkom58 thanks for your question. I have updated the documentation to add a bit more information: https://github.com/ThomasVitale/developer-experience-java-kubernetes/tree/main/04-tilt
The live reload functionality is based on three main aspects:
./bin/main
in Visual Studio Code, ./build/classes/java/main
and ./build/resources/main
in IntelliJ IDEA) into the container (/workspace/BOOT-INF/classes
when using Paketo Buildpacks).You can find additional information on the Paketo Buildpacks official documentation: https://paketo.io/docs/howto/java/#enable-process-reloading
Can you explain a bit on how live-reload works in case of tilt?
In particular, what exactly is
'./bin/main'
? I'm asking this question because I can't get this work and official examples are completely different.