Introduction
cPanel uses Phusion Passenger to handle the deployment of NodeJS and Ruby applications. If you make a change to your application Passenger is not immediately restarted.
Procedure
To force Passenger to restart after making a change tot your application you will need to make a file named restart.txt
inside the tmp directory within your application root:
touch /home/$user/application/tmp/restart.txt
The next time Passenger handles a request for this application it checks the timestamp on the file and restarts if needed.