How to use forever to start the server
simran-k opened this issue · 0 comments
simran-k commented
I have tried using this:
"betterScripts": {
"start-prod": {
"command": "forever start ./bin/server.js",
"env": {
"NODE_PATH": "./src",
"NODE_ENV": "production"
}
},
but I get npm run start-prod exited with code 0