File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
var childProcess = require ( 'child_process' ) ;
3
- var Promise = require ( 'bluebird' ) ;
4
3
var path = require ( 'path' ) ;
4
+ var Promise = require ( 'bluebird' ) ;
5
+ var debug = require ( 'debug' ) ( 'ava' ) ;
5
6
var send = require ( './send' ) ;
6
7
7
8
module . exports = function ( args ) {
@@ -61,6 +62,7 @@ module.exports = function (args) {
61
62
event . name = event . name . replace ( / ^ a v a \- / , '' ) ;
62
63
event . data . file = file ;
63
64
65
+ debug ( 'ipc %s:\n%o' , event . name , event . data ) ;
64
66
ps . emit ( event . name , event . data ) ;
65
67
} ) ;
66
68
Original file line number Diff line number Diff line change 80
80
"chalk" : " ^1.0.0" ,
81
81
"co-with-promise" : " ^4.6.0" ,
82
82
"core-assert" : " ^0.1.0" ,
83
+ "debug" : " ^2.2.0" ,
83
84
"destroy-circular" : " jamestalmage/destroy-circular#feeb7d1" ,
84
85
"empower" : " ^1.1.0" ,
85
86
"figures" : " ^1.4.0" ,
You can’t perform that action at this time.
0 commit comments