mean stack - What is the command/configuration to run NodeJS/Express app as a daemon? -


If I run SSH:

  $ node server  < / Pre> 

My Web app works fine until I close the SSH session. What commands or configurations are necessary so that it runs without active SSH session all the time?

You can turn it on:

  nohup node server < / Code> 

Or you can install forever.

  npm -g always start forever server  

Comments

Popular posts from this blog

Editing Python Class in Shell and SQLAlchemy -

import - Python ImportError: No module named wmi -

uislider - In a MATLAB GUI, how does one implement a continuously varying slider from a GUIDE created .m file? -