pm2-pull-reload
v1.1.0
Published
PM2 Module to pull from Git/Subversion/Mercurial repository and reload processes
Downloads
2
Readme
pm2-pull-reload
Synchronize all applications managed by PM2 + Git/Subversion/Mercurial automatically.
Module checks each process for versioning and process status 'online'.
Runs npm install and npm run build reloading the process.
Turn off watch in pm2 for this process to prevent double reloading.
# Install
$ pm2 install pm2-pull-reload
## Uninstall
$ pm2 uninstall pm2-pull-reload
## Configure pull and reload interval
$ pm2 set pm2-pull-reload:interval 60000
License
MIT