Skip to main content

Hot Reload

What is Hot-Reload?#

The files you modify in the IDE will be synchronized to the remote container in real time, and your Run/Debug command will be re-executed.

Supported IDEs#

LanguageIDEEditionRequired Plugin
JavaIntelliJ IDEAUltimateN/A
GoIntelliJ IDEAUltimateGo plugin
GoLandProfessionalN/A
PythonIntelliJ IDEAUltimatePython plugin
PyCharmProfessionalN/A
PHPIntelliJ IDEAUltimatePHP plugin
PhpStormProfessionalN/A
Node.jsIntelliJ IDEAUltimateN/A
WebStormProfessionalN/A

How to enable Hot-Reload?#

  1. Select the workload that you want to Run/Debug
  2. Right-click the workload and select Dev Config, configure hotReload: true

Sample Configuration#

Nocalhost Configs
name: java-remote-runserviceType: deploymentcontainers:  - name: "reviews"    dev:        image: codingcorp-docker.pkg.coding.net/nocalhost/dev-images/java:latest        shell: bash        workDir: /home/nocalhost-dev        command:          debug:            - ./gradlew            - bootRun            - --debug-jvm            - --no-daemon        hotReload: true        debug:          remoteDebugPort: 5005