 # ```
 module.exports =
 class Task
-  Emitter.includeInto(this)
-
   # Public: A helper method to easily launch and run a task once.
   #
   # * `taskPath` The {String} path to the CoffeeScript/JavaScript file which

  handleEvents: ->
    @childProcess.removeAllListeners()
    @childProcess.on 'message', ({event, args}) =>
      @emit(event, args...) if @childProcess?

    # Catch the errors that happened before task-bootstrap.
    if @childProcess.stdout?

_ = require 'underscore-plus'
ChildProcess = require 'child_process'
{Emitter} = require 'event-kit'
Grim = require 'grim'

# Extended: Run a node script in a separate process.
