Skip to content

PM2 development environment monitor running in independent mode

License

Notifications You must be signed in to change notification settings

alexzel/pm2-devmon

Repository files navigation

pm2-devmon

PM2 development environment monitor running in independent mode.

With this tool you can run more than one project in development mode in different terminal sessions, so they do not share output and do not conflict (in opposed to standard pm2-dev).

Installation

yarn add pm2 pm2-devmon

or

npm install pm2 pm2-devmon

Usage

Run application script

pm2-devmon start app.js

or run config script

pm2-devmon start pm2.config.js --raw

or run process config file

pm2-devmon start process.json --raw --env dev

See examples for more details.

Options

$ pm2-devmon start --help

pm2-devmon start <cmd> [-r] [-e name] [-i files] [-x extensions] [-d delay]

Start PM2 development monitor

Positionals:
  cmd  PM2 config file or script or shell command            [string] [required]

Options:
  -r, --raw      Raw output                           [boolean] [default: false]
  -e, --env      Environment name from env_[name]         [string] [default: ""]
  -i, --ignore   Files list to ignore watching             [array] [default: []]
  -x, --ext      Comma separated list of file extensions  [string] [default: ""]
  -d, --delay    Restart delay                          [number] [default: 2500]
  -v, --version  Show version number                                   [boolean]
  -h, --help     Show help

About

PM2 development environment monitor running in independent mode

Resources

License

Stars

Watchers

Forks

Packages

No packages published