-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwebconsole.js
More file actions
16 lines (14 loc) · 831 Bytes
/
Copy pathwebconsole.js
File metadata and controls
16 lines (14 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module.exports = function (DIR) {
message = "<script>setInterval(function(){location.reload();}, 2323);</script>\n";
message += "<pre style='word-wrap: break-word; white-space: pre-wrap;'>";
message += "------------------------------------------------------------------------\n";
message += "CODE WATCHDOG v1.0 WEB CONSOLE\n";
message += "-----------------------------------------------------------------------\n";
message += "Automated watchdog framework, extendable to run actions on code changes\n";
message += "Developed By : Ramit Mitra\n";
message += "========================================================================\n";
message += "\n";
message += "Started watching files at " + DIR + "\n\n";
message += "========================================================================\n\n";
return message;
};