Answer the question
In order to leave comments, you need to log in
How to run a nodejs application in the background?
I have a simple nodejs script that starts a server that serves a page on port 8080.
This script does not output anything (to the console)
To compile this script into an executable (exe) file, I used the nexe
library.
The library works fine, collects a file that runs without problems.
But when you run the exe file, the console (empty) opens, even though the script does not output anything.
Is it possible to somehow configure the script (perhaps there is some module for this) so that this console does not appear, but the application itself runs (in the background)?
Answer the question
In order to leave comments, you need to log in
https://stackoverflow.com/questions/4018154/how-do...
https://stackoverflow.com/questions/39887679/how-t...
https://pm2.io/
https://www. npmjs.com/package/forever
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question