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.
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:
The next time Passenger handles a request for this application it checks the timestamp on the file and restarts if needed.