0

My package.json has following scripts -

"scripts": {
    "ng": "ng",
    "start": "ng serve --configuration=dev",
    "build": "ng build --prod --progress",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },

And I have uploaded the dist folder that was created on the server and it had an index.html that I want to serve. Just wondering as how to start it using PM2.

Akber Iqbal
  • 14,487
  • 12
  • 48
  • 70
a p
  • 1,121
  • 6
  • 26
  • 51
  • does this help? https://stackoverflow.com/questions/39314654/how-can-i-run-pm2-with-angular-cli-angular2 – Akber Iqbal Jan 04 '19 at 11:48
  • I am using nginx, so don't think http server should be really required. Please correct me if otherwise. – a p Jan 04 '19 at 12:10

0 Answers0