How to Run Sails in production with pm2 (sails lift --prod) with pm2
Here Finally I found the correct command for that is like below
pm2 start app.js -x -- --prod
I went to the all commands of pm2 and found
-x --execute-command execute a program using fork system
so here this is works fine. Even later I found this command on sails docs too.
Sails Deployment
NODE_ENV=production pm2 start app.js