10
You can use the nohup:
$ nohup node server.js > output.log &
This way, you can drop and the server will remain active.
To run "forever", I recommend using the Forever.
$ npm install forever
$ forever start server.js
To see the servers running, use the option list
$ forever list
The good thing about Forever is that it automatically restarts your server if, for some reason, it dies.
For more details, see this link (in English).
Excellent! Thank you.
– user1202416