Hi,
I am running the latest version of ubuntu and LSWS on a vps server. I am trying to run multiple node applications on this server.
Everytime I make changes to app.js, I need to restart the lsws server, which affects all other applications. Is there a way to avoid this? I tried nodemon, but nodemon seems to leave a terminal window in limbo, which is not convenient in a vps setting. How do I resolve this - whenever any file in the node application changes, the system should automatically restart that particular node js application? The document is not clear on this, any solution or links to relevent solutions would be much appreciated.
I am running the latest version of ubuntu and LSWS on a vps server. I am trying to run multiple node applications on this server.
Everytime I make changes to app.js, I need to restart the lsws server, which affects all other applications. Is there a way to avoid this? I tried nodemon, but nodemon seems to leave a terminal window in limbo, which is not convenient in a vps setting. How do I resolve this - whenever any file in the node application changes, the system should automatically restart that particular node js application? The document is not clear on this, any solution or links to relevent solutions would be much appreciated.