Answer the question
In order to leave comments, you need to log in
How to properly run node.js application through forever + development.json process manager?
I compile / run the server via SSH like this
$ yarn buil
$ yarn start serve
.
"license": "MIT",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
},
.
.
"license": "MIT",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"app": "node ./node_modules/forever start ./development.json"
},
.
{
"uid": "app",
"append": true,
"watch": true,
"watchDirectory": "dist/",
"script": "",
"sourceDir": "/",
"command": "yarn start serve"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question