Skip to content

Instantly share code, notes, and snippets.

@MiladNazeri
MiladNazeri / reload-failing-server-scripts.js
Created January 31, 2019 00:12 — forked from Atlante45/reload-failing-server-scripts.js
Tracks down and reloads failing entity server scripts.
var entitiesWithServerScripts = 0
function callbackClosure(i, callback) {
return function() {
return callback(i);
}
}
var interval = Script.setInterval(function() {
console.log("Checks pending:", entitiesWithServerScripts)