PM2 logo
Documentation Github
Monitor PM2

pm2-dev for development

  • Quick Start
    • Quick Start
  • General
    • Process Management
    • Restart Strategies
    • Logs
    • Persistent Application
    • Configuration File
    • Cluster Mode
    • Watch & Restart
    • Memory Limit
    • PM2 as a Static Server
    • Deployment System
    • Environment Variables
    • Update PM2
  • Advanced
    • Graceful Start/Shutdown
    • Exposing RPC function
    • Exposing Metrics
    • PM2 Javascript API
    • Monitoring
    • No daemon, Multiple PM2
    • Module System
    • Source Map Support
    • Development Workflow
    • Auto Completion
  • Integrations
    • Docker Integration
    • Use PM2 in Cloud Providers
    • Production Setup with Nginx
    • Using transpilers with PM2
    • Heroku
    • AWS Elastic Beanstalk
    • Capistrano-like Deployments
  • Resources
    • FAQ
    • Contributing

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
# it print the logs and restart on file change too

# Two way of running your application :
pm2-dev start my-app.js

# or

pm2-dev my-app.js
Contribute to this page
PM2 logo
Quick start Documentation Integrations
Get started
© 2014-2026 PM2. All Rights Reserved.
Terms of Use // Privacy Policy