     @clearProjects()
     atom.project.addPath(path)
     @treeView()?.updateRoots(directoryExpansionStates)
+    @updateTitle()
 
   reloadTreeView: (path, pathToSelect) ->
     @treeView()?.entryForPath(path).reload()


      @disposables.add resultModel.onDidReplacePath ({filePath}) =>
        @saveAfterProjectReplace(filePath)

  configPath: ->
    atom.configDirPath

module.exports =
class AtomHelper
  constructor: (@virtualFileSystem) ->
    @addMenu()
    @addKeymaps()
    @addContextMenus()
    @replaceTitleUpdater()
    atom.packages.onDidActivateInitialPackages(@handleEvents)

  handleEvents: =>
