Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pm2-devmon

alexzel51MIT1.5.1

PM2 development environment monitor running in independent mode

cli, pm2, pm2-dev, pm2-devmon, node-pm2, dev, development, monitor, reload, restart, independent, nodemon, express, fastify, supervisor, daemon, manager, tools

readme

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

changelog

Changelog

1.5.1 (2024-04-07)

  • Regenerate yarn lock file
  • Bump dependencies
  • Bump depndencies and regenerate yarn lock file

1.5.0 (2023-06-12)

  • Update readme and cmd description
  • Fix ignore flag for scripts and add --ext and --delay options

1.4.10 (2023-06-02)

  • Regenerate yarn lock file
  • Bump dependencies
  • Update package description

1.4.9 (2023-05-15)

  • Regenerate yarn lock to get rid of security alert
  • Bump dependencies
  • Simplify config file in the example server

1.4.8 (2023-04-22)

  • Bump dependencies and regenerate yarn lock to silence security alert

1.4.7 (2023-04-12)

  • Regenerate yarn.lock file to fix security alert

1.4.6 (2023-04-07)

  • Regenerate yarn.lock file
  • Bump dependencies

1.4.5 (2023-01-29)

  • Remove travis file and cleanup package.json

1.4.4 (2023-01-29)

  • Add .travis.yml (we may need it)
  • Fix changelog file

1.4.3 (2023-01-29)

  • Revert examples adding into files list

1.4.2 (2023-01-29)

  • Include examples into files list

1.4.1 (2023-01-29)

  • Add link examples link into readme file
  • Fix type in the example readme
  • Add examples with simple http server and dev/prod config

1.4.0 (2023-01-29)

  • Revert .github in package.json

1.3.8 (2023-01-29)

  • Add .github file into package.json file
  • Remove directories section

1.3.7 (2023-01-29)

  • Revert unnecessary package.json changes and add directories

1.3.6 (2023-01-29)

  • Rename node-ci -> ci

1.3.5 (2023-01-29)

  • Add yarn lock file into files list

1.3.4 (2023-01-29)

  • Update author section and add engines

1.3.3 (2023-01-29)

  • Update bugs and repository sections in the package.json file

1.3.2 (2023-01-29)

  • Revert package.json changes and add test folder into files list

1.3.1 (2023-01-29)

  • Add test folder into npmignore list

1.3.0 (2023-01-29)

  • Remove files section, add directories section, and add npmignore file

1.2.4 (2023-01-23)

  • Update variable names in the release scripts
  • Bump dependencies

1.2.3 (2023-01-23)

  • Fix commit message body in the release script

1.2.2 (2023-01-23)

  • Add extra new line to release commit message
  • Improve release scripts with cleanups and adjust commit message
  • Fix branch in release scripts
  • Refactor release and changelog scripts
  • Add missing release to changelog

1.2.1 (2023-01-23)

  • Fix changelog script
  • Fix changelog
  • Add custom changelog script and gather previous changelog items

1.2.0 (2023-01-23)

  • Remove lib from gitignore file
  • Move src -> lib

1.1.3 (2023-01-06)

  • Update yarn.lock file to get rid of Dependabot alerts

1.1.2 (2023-01-06)

  • Bump dependencies

1.1.1 (2022-10-25)

  • Bump dependencies

1.1.0 (2022-09-25)

  • Add github workflows
  • Add tests and move log and start functions into modules
  • Bump dev dependencies

1.0.2 ((2022-08-11)

  • Update usage snippets in readme file

1.0.1 (2022-08-11)

  • Update readme file
  • Improve cli copy and options order

1.0.0 (2022-08-11)

  • Use yargs instead of commander and make it work for global install
  • Improve cli usage and decription copy
  • Add more package keywords
  • Update readme file

0.0.5 (2022-08-08)

  • Add missing word into readme file

0.0.4 (2022-08-08)

  • Fix readme copy

0.0.3 (2022-08-08)

  • Update readme file

0.0.2 (2022-08-08)

  • Fix package binary

0.0.1 (2022-08-08)

  • Init