       pv.setProgress(progress)
     .on 'finish', ->
       pv.destroy()
+
+  cmdRunOnServer: ->
+    @runOnServerView = new RunOnServerView()
+    @runOnServerView.attach()
+    @runOnServerView.on 'createServer', (event, rootPath, destPath, httpPort, pushState)=>
+      @debugServer.start(rootPath, destPath, httpPort, pushState)

rimraf = require 'rimraf'
fs = require 'fs-plus'
path = require 'path'
mkdirp = require 'mkdirp'

remote = require 'remote'
dialog = remote.require 'dialog'


        pv.destroy()
        atom.open {pathsToOpen: [destPath]}

  cmdInstall: ->

    pv = new ProgressView(this)
