Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
for express, should pm2 start app.js or bin/www? #2528
I failed with the former but succeed with latter. I see the bin/www has content like below:
Seems it creates http server in bin/www.
Seems this is a desired change from express 3 to express 4 - creating http server is moved from app.js to bin/www. But the pm2 releted document hasn't updated accordingly.