lib/haibu/core/spawner.js
function onChildRestart (monitor, data) {
      haibu.emit(['drone', 'stop'], 'info', {
        process: result.data,
        pkg: result.pkg
      });
      
      haibu.emit(['drone', 'start'], 'info', {
        process: data,
        pkg: result.pkg
      });
    }
function onChildRestart (monitor, data) {
      haibu.emit(['drone', 'stop'], 'info', {
        process: result.data,
        pkg: result.pkg
      });
      
      haibu.emit(['drone', 'start'], 'info', {
        process: data,
        pkg: result.pkg
      });
    }
function onChildRestart ( monitor , data ) { haibu . emit ( [ 'drone' , 'stop' ] , 'info' , { process : result . data , pkg : result . pkg } ) ; haibu . emit ( [ 'drone' , 'start' ] , 'info' , { process : data , pkg : result . pkg } ) ; }
When the drone stops, update the result for monitoring software
When the drone stops update the result for monitoring software