13.6.3. Enabling and Disabling Hot Deployment

Follow the instructions applicable to your operating system to enable or disable hot deployment.
Windows

Enable hot deployment by creating the hot_deploy marker file in the application's root directory with the following command:

C:\app_directory> copy NUL > .openshift\markers\hot_deploy

Disable hot deployment by deleting the hot_deploy marker file from the application's root directory:
C:\app_directory> del .openshift\markers\hot_deploy
Mac OS X and Linux

Enable hot deployment by creating the hot_deploy marker file in the application's root directory:
[user@user app_directory]$ touch .openshift/markers/hot_deploy
Disable hot deployment by deleting the hot_deploy marker file from the application's root directory:
[user@user app_directory]$ rm .openshift/markers/hot_deploy