Answer the question
In order to leave comments, you need to log in
How to run a React app in daemon mode?
Wrote an application on React, compiled a build
> npm run build I uploaded
this build to the VDS / VPS server and run the whole thing like this:
> serve -s -l 80
I do all this from the terminal via ssh. It is not very convenient to do this whole thing and keep the terminal open all the time. How to run an application as a daemon?
Just flooded beat does not work as I need! This is why I want to run.
Answer the question
In order to leave comments, you need to log in
Use third party process managers like PM2 .
They have good documentation that is easy to understand.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question