 
     onFileChangeCallback =
       _.debounce =>
-        @updatePdf() unless @updating
+        if @updating
+          @fileChanged = true
+        else
+          @updatePdf()
       , 100
 
     disposables.add @file.onDidChange onFileChangeCallback

            @scrollTop(@scrollTopBeforeUpdate)
            @scrollLeft(@scrollLeftBeforeUpdate)
            @setCurrentPageNumber()
            @updating = false
        , => @updating = false

  zoomOut: ->
    @adjustSize(100 / (100 + @scaleFactor))

        @canvases.push(canvas)

      @renderPdf()
    , => @finishUpdate()

  renderPdf: (scrollAfterRender = true) ->
    @centersBetweenPages = []
