 
   concatNewItem: R.flip(R.invoker(1, 'concat'))
 
-  createWatchPathTask: (path) ->
+  createWatchPathTask: (path) =>
     @tasks[path] = task = new Task(require.resolve('./watch-project-task.coffee'))
     task.projectPath = path # projectPath to match src/atom/watch-project-task.coffee definition
     task.start(path,

    )
    return task

  destroyWatchPathTask: (path) ->
    task = @tasks[path]
    task.send('dispose')
    return task


  createItemsProp: ->
    projectsPaths       = atoms.projectsPaths()
    watchPathsStream    = projectsPaths.openStream.map @createWatchPathTask
    addItemsStream      = watchPathsStream.flatMap (task) -> Bacon.fromEvent(task, 'add')
    removeItemsStream   = watchPathsStream.flatMap (task) -> Bacon.fromEvent(task, 'unlink')
    closeProjectsStream = projectsPaths.closeStream.map @destroyWatchPathTask

    return Bacon.update [],
      [addItemsStream], @concatNewItem
