migrating repo to Bodyrep org

This commit is contained in:
2013-01-19 11:23:43 -05:00
parent 31b7303f43
commit 4ea082330b
891 changed files with 142706 additions and 0 deletions

20
node_modules/supervisor/debug.patch generated vendored Normal file
View File

@@ -0,0 +1,20 @@
diff --git a/lib/supervisor.js b/lib/supervisor.js
index ae69a2d..6c2c795 100644
--- a/lib/supervisor.js
+++ b/lib/supervisor.js
@@ -187,6 +187,7 @@ function startProgram (prog, exec) {
util.debug("Starting child process with '" + exec + " " + prog.join(" ") + "'");
crash_queued = false;
var child = exports.child = spawn(exec, prog);
+ util.debug("Spawned child process: " + child.pid);
child.stdout.addListener("data", function (chunk) { chunk && util.print(chunk); });
child.stderr.addListener("data", function (chunk) { chunk && util.debug(chunk); });
child.addListener("exit", function (code) {
@@ -210,6 +211,7 @@ function crash () {
setTimeout(function() {
if (child) {
util.debug("crashing child");
+ util.debug("Crashing child process: " + child.pid);
process.kill(child.pid);
} else {
util.debug("restarting child");