PM2

PM2 is a production process manager for Node.js applications with a built-in load balancer. PM2 allows us to run a Node.js application as a background process, which is something that we are going to need to run our e2e tests. We can install PM2 using the following command:

npm install pm2

Get Learning TypeScript 2.x - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.