From 389e44df7373c509e771382786c895b1a0d21820 Mon Sep 17 00:00:00 2001 From: Tyler Kellen Date: Fri, 12 Sep 2014 12:08:41 -0400 Subject: [PATCH] Update: Revise for liftoff 0.13.2 --- bin/hacker.js | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/hacker.js b/bin/hacker.js index 370072c..4af0713 100755 --- a/bin/hacker.js +++ b/bin/hacker.js @@ -16,8 +16,9 @@ const Hacker = new Liftoff({ console.log('Loading:',name); }).on('requireFail', function (name, err) { console.log('Unable to load:', name, err); -}).on('respawn', function (proc) { - console.log('Respawned to PID:', proc.pid); +}).on('respawn', function (flags, child) { + console.log('Detected node flags:', flags); + console.log('Respawned to PID:', child.pid); }); Hacker.launch({ diff --git a/package.json b/package.json index b0c7974..a314420 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ ], "dependencies": { "interpret": "~0.3.7", - "liftoff": "~0.13.0", + "liftoff": "~0.13.2", "minimist": "~1.1.0", "v8flags": "~1.0.1" },