     for regex in @ignoredPathRegexes
       return true if path.match(regex)
 
+    return true if @repo.isPathIgnored(path)
+
     return false
 
   ignoreFile: (path) ->

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

    return false


      '.DS_Store'
    ]
    @ignoredPathRegexes = []
    @repo = new Git(path)

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