Node Supervisor is used to restart programs when they crash.
Node Supervisor 是用來當程序崩潰時重啓的。
It can also be used to restart programs when a .js file changes.
它也能夠用來重啓程序,當.js文件發生改變。node
PM2 is a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
PM2是一個針對Node.js應用的產品進程管理器。它幫助你保持應用永遠存活。git
一個命令行啓動的http服務器github