N
N
nagge1012019-04-04 18:25:42
React
nagge101, 2019-04-04 18:25:42

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

2 answer(s)
A
Andrew Hecc, 2019-04-04
@nagge101

Use third party process managers like PM2 .
They have good documentation that is easy to understand.

G
grinat, 2019-04-04
@grinat

O_o and what does React have to do with it? It's good that at least not jquery

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question