 SidebarFlux          = require 'app/flux/sidebar'
 whoami               = require 'app/util/whoami'
 ComputeStorage       = require './computestorage'
+IDERoutes            = require 'ide/routes'
 
 TestMachineMiddleware = require './middlewares/testmachine'
 

      { results : { machines } } = newStack

      kd.utils.defer =>
        @reloadIDE machines[0].obj.slug

      @checkGroupStacks newStack.stack.getId()



    if change.method is 'apply'
      stack = @findStackFromStackId change.payload.stackId
      @reloadIDE stack.machines.first

    console.log '[Kloud:API]', change
