pm2-dev for development

PM2 comes with a handy development tool that allow you to start an application and restart it on file change:

# Start your application in development mode
# = Print the logs and restart on file change

$ pm2-dev run my-app.js