Jump to content

Reload JS on server runtime?


Recommended Posts

  • 2 weeks later...

You can use a process manager for that (pm2):

npm i -g pm2 # install pm2 

cd /your/ragemp/server-files

pm2 start server.exe --watch # starts the server.exe in watch mode. it will restart on any file changes inside the server-files folder
pm2 stop server --watch # its important to stop it with the --watch flag otherwise it will still restart.

pm2 logs server # will show you the logs


  • Like 1
Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...