pm2 logrotate env
"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node server.js", "pro": "pm2 stop client && pm2 delete client && cross-env NODE_ENV=production pm2 --name 'client' -i 3 start server.js", "dev": "cross-env NODE_ENV=development nodemon server.js", "prodev": "cross-env NODE_ENV=production nodemon server.js", "aws_pro": "cross-env NODE_ENV=production pm2 --name 'client' -i 4 start server.js -o ./pro_logs/client.log -e ./pro_logs/client.log --merge-logs --time", "aws_dev": "cross-env NODE_ENV=development pm2 --name 'test_client' start server.js -o ./dev_logs/client.log -e ./dev_logs/client.log --merge-logs --time" },