       return true if name is ignored
     for regex in @ignoredPathRegexes
       return true if path.match(regex)
+    return true if @repo.isPathIgnored(path)
 
     return false
 

      '.DS_Store'
    ]
    @ignoredPathRegexes = []

  destroy: ->
    editSession.destroy() for editSession in @getEditSessions()

    for regex in @ignoredPathRegexes
      return true if path.match(regex)

    return true if @repo.isPathIgnored(path)

    return false

  ignoreFile: (path) ->
