SyntaxFix
Write A Post
Hire A Developer
Questions
To run PM2 with npm start method and to give it a name, run this, pm2 start npm --name "your_app_name" -- start
npm start
name
pm2 start npm --name "your_app_name" -- start
To run it by passing date-format for logs, pm2 start npm --name "your_name" --log-date-format 'DD-MM HH:mm:ss.SSS' -- start
pm2 start npm --name "your_name" --log-date-format 'DD-MM HH:mm:ss.SSS' -- start