 LifeCycle = require './util/lifecycle'
 Configuration = require './util/configuration'
 git = require './util/git'
+
+STATUS_CHECK_INTERVAL = 2500
 
 module.exports = AdvancedWebEditor =
   configurationView: null

    @lifeCycle.setupToolbar(@toolBar)
    @lifeCycle.doPublish().then () =>
      @lifeCycle.statusReady()
      @lifeCycle.setupToolbar(@toolBar)
    .fail (e) =>
      atom.notifications.addError "Error occurred",

      .then (branch) =>
        @lifeCycle.statusStarted()
        @lifeCycle.setupToolbar(@toolBar)
        @startStatusCheck()
        atom.notifications.addInfo("Created branch #{branch}")
      .fail (e) -> atom.notifications.addError "Error occurred",
        description: e.message + "\n" + e.stdout
