MCPcopy Index your code
hub / github.com/Unitech/pm2 / refreshDashboard

Function refreshDashboard

lib/API/Extra.js:672–685  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

670 });
671
672 function refreshDashboard() {
673 that.Client.executeRemote('getMonitorData', {}, function(err, list) {
674 if (err) {
675 console.error('Error retrieving process list: ' + err);
676 that.exitCli(cst.ERROR_EXIT);
677 }
678
679 Dashboard.refresh(list);
680
681 setTimeout(function() {
682 refreshDashboard();
683 }, 800);
684 });
685 }
686
687 refreshDashboard();
688 };

Callers 1

Extra.jsFile · 0.85

Calls 1

exitCliMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…