My question is about running HTTP-server in combination with PM2.
The problem I face is that:
if we have a build generated by grunt,then go to its path and hit:
~/app/build/prod$ sudo pm2 start /usr/local/bin/http-server -p 8080
Now check app status at localhost:8080
localhost:8080