   specs = buildFbpSpecs mocha
 
   state =
-    started: handleFbpCommand
+    started: false
     running: false
     currentTest: null
     graph: null

    handleFbpCommand state, runtime, mocha, specs, protocol, command, payload, context

  httpServer.listen options.port, (err) ->
    throw err if err
    console.log "fbp-spec-mocha started on ws://#{options.host}:#{options.port}"



  return program

exports.setup = setup = (options, callback) ->
  options = normalizeOptions options

  files = testFilesInDirectory options.directory
