node.js - forever and forever-monitor -
the github pages light on documentation. know loves forever, i'm confused difference between forever
, forever-monitor
is, , package should using under circumstances.
do offer same functionality?
as stated in readme of forever , readme of forever-monitor forever
module command line interface , package forever-monitor
core monitoring functionality without cli can use programatically.
which package should using under circumstances?
- you should use
forever
module when want use cli(starting manually example). - you should use
forever-monitor
when writing program should control application starting. example app start other apps in via interface or if want spawn should restarted on failure in app.
do offer same functionality?
i haven't looked throughout code package.json
file's dependencies in forever
module includes forever-monitor
sounds realistic because forever
module application controls other applications(and therefor uses forever-monitor
). probably(at least of it) yes, in forever-monitor
might not implemented in forever
.
Comments
Post a Comment