I want to run my angular4 app using PM2 it will run but when I am close the terminal it will stop.
On this server already run
Everything is fine just run below command from ROOT
1) first go to your Project Directory and run below from from ROOT.
pm2 start server.js
it will work fine.