 
   # Extended: Reload the current window.
   reload: ->
+    @saveWindowDimensions()
+
     @applicationDelegate.restartWindow()
 
   # Extended: Returns a {Boolean} that is `true` if the current window is maximized.

WindowEventHandler = require './window-event-handler'
StylesElement = require './styles-element'
StorageFolder = require './storage-folder'
{getWindowLoadSettings} = require './window-load-settings-helpers'
registerDefaultCommands = require './register-default-commands'

DeserializerManager = require './deserializer-manager'


    @blobStore.save()

  saveWindowDimensions: ->
    loadSettings = getWindowLoadSettings()
    loadSettings['windowDimensions'] = @getWindowDimensions()
    setWindowLoadSettings(loadSettings)

  saveStateSync: ->
    return unless @enablePersistence

