 
     computeController.emit "public-#{machine._id}", state
 
+    unless event.status is Running
+      info "ComputeEvent listener triggered invalidateCache"
+      computeController.invalidateCache machine._id
+
 
   revertToPreviousState:(machine)->
 


  TypeStateMap =

    stop    : public : "MachineStopped",   private : Machine.State.Stopped
    start   : public : "MachineStarted",   private : Machine.State.Running
    build   : public : "MachineBuilt",     private : Machine.State.Running
    reinit  : public : "MachineBuilt",     private : Machine.State.Running
    resize  : public : "MachineResized",   private : Machine.State.Running
    destroy : public : "MachineDestroyed", private : Machine.State.Terminated


  tick:->

class ComputeEventListener extends KDObject

  {Stopped, Running, Terminated} = Machine.State

  constructor:(options = {})->

