UNPKG

pm25

Version:

Production process manager for Node.JS applications with a built-in load balancer.

15 lines (9 loc) 185 B
var pm2 = require('..'); setTimeout(function() { pm2.connect(function() { pm2.restart('all', function() { pm2.disconnect(function() { }); }); }); }, 3000);