       @emitter.emit 'did-reload-file-variables', {path, variables: results}
 
   scanPathsForVariables: (paths, callback) ->
-    console.log "scanning paths #{paths}"
+    console.log "scanning paths #{paths.length}"
     if paths.length is 1 and colorBuffer = @colorBufferForPath(paths[0])
       colorBuffer.scanBufferForVariables().then (results) -> callback(results)
     else

  loadVariablesForPaths: (paths) ->
    new Promise (resolve, reject) =>
      @scanPathsForVariables paths, (results) =>
        console.log "scanning results #{results}"
        @variables ?= []

        filesVariables = results.map(@createProjectVariable)

      @initialized = true
      variables = @variables.slice()
      @emitter.emit 'did-initialize', variables
      console.log "project variables initialized #{variables.length}"
      variables

  ##    ########  ##     ## ######## ######## ######## ########   ######
