pm2-devmon

1.5.1 • Public • Published

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

Package Sidebar

Install

npm i pm2-devmon

Weekly Downloads

6

Version

1.5.1

License

MIT

Unpacked Size

16.6 kB

Total Files

14

Last publish

Collaborators

  • alexzel