D
D
Dilik Pulatov2018-06-18 15:44:16
Node.js
Dilik Pulatov, 2018-06-18 15:44:16

How to start a NodeJs process when the console is closed but the process is still running?

Hello!
I am working with the server (Windows is installed on the server) through the PuTTY console. Launched the node server...and closed the console.
And the node server is still running. Now I need to look at the console of the node server ... when working in the console, a lot of things are displayed .. And now how can I start it without reloading the node server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Tsvetkov, 2018-06-18
@yellow79

Run your application in some tmux or screen where you can connect to the console and see what happens. And it’s better in general through pm2, it puts everything into files

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question