addig pm2 script

This commit is contained in:
Carlos
2025-04-09 23:08:48 -04:00
parent 82a5e6d482
commit 3263b54c43

View File

@ -6,7 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "nodemon server.js",
"start:server": "NODE_ENV=production node server.js"
"start:server": "pm2 start server.js --name \"my-server\" --env production"
},
"keywords": [],
"author": "Carlos Gutierrez <ingecarlos.gutierrez@gmail.com>",