         title    : "Compiling #{name}..."
         type     : "mini"
 
-      @kiteController.run
-        kiteName  : "applications"
-        method    : "compileApp"
-        withArgs  : {appPath}
-      , (err)=>
+      @kiteController.run "kd app compile #{appPath}", (err, response)=>
         if not err
           loader.notificationSetTitle "Fetching compiled app..."
           @fetchCompiledAppSource app, (err, res)=>

  fetchCompiledAppSource:(manifest, callback)->

    indexJs = FSHelper.createFileFromPath "#{@getAppPath manifest}/index.js"
    indexJs.fetchContents (err, response)=> callback null, response

  # #
  # MISC

      @fetchApps (err, apps)->
        compileOnServer apps[name]
    else

      @kiteController.run "test -d #{escapeFilePath @getAppPath @constructor.manifests[name]}", (err)=>
        if err
          new KDNotificationView
