           @finishUpdateItems()
 
     searchNextProject = =>
-      @searcher.searchProject(projects.shift(), @updateItems, onFinish)
+      @searcher.searchProject(projects.shift(), @updateItemsIfNotModified, onFinish)
 
     if @searchInOrdered
       searchNextProject()
     else
       searchNextProject() while projects.length
 
-  updateItems: (items) ->
+  updateItemsIfNotModified: (items) =>
     items = items.filter (item) -> not atom.project.isPathModified(item.filePath)
+    @updateItems(items)
+
+  updateItems: (items) =>
     if @searchInOrdered
       items = _.sortBy(items, (item) -> item.filePath)
     super(items)

    finished = 0
    onFinish = (project) =>
      finished++
      dir = atom.project.getDirectoryForProjectPath(project)
      for buffer in modifiedBuffers when dir.contains(buffer.getPath())
        scanBuffer(buffer)

      if projects.length


  search: ->
    projects = @projects.slice()
    modifiedBuffers = atom.project.getBuffers().filter (buffer) -> buffer.getPath()? and buffer.isModified()
    modifiedBuffersScanned = []

    scanBuffer = (buffer) =>
