PM2
pm2
npm install -g pm2{
"name": "pm2-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"koa": "^2.5.0",
"koa-router": "^7.4.0"
}
}Make the server running when server starts up
Last updated