Skip to content

Commit 389e44d

Browse files
Tyler Kellenphated
authored andcommitted
Update: Revise for liftoff 0.13.2
1 parent 7d6b58f commit 389e44d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

bin/hacker.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ const Hacker = new Liftoff({
1616
console.log('Loading:',name);
1717
}).on('requireFail', function (name, err) {
1818
console.log('Unable to load:', name, err);
19-
}).on('respawn', function (proc) {
20-
console.log('Respawned to PID:', proc.pid);
19+
}).on('respawn', function (flags, child) {
20+
console.log('Detected node flags:', flags);
21+
console.log('Respawned to PID:', child.pid);
2122
});
2223

2324
Hacker.launch({

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
],
3434
"dependencies": {
3535
"interpret": "~0.3.7",
36-
"liftoff": "~0.13.0",
36+
"liftoff": "~0.13.2",
3737
"minimist": "~1.1.0",
3838
"v8flags": "~1.0.1"
3939
},

0 commit comments

Comments
 (0)