             type: "microflo"
             version: "0.4"
             capabilities: caps
-        if liveProgramming
-          runtime.device.open () ->
-            connection.send
-              protocol: "runtime"
-              command: "runtime"
-              payload: r
+
+        runtime.device.open () ->
+          connection.send
+            protocol: "runtime"
+            command: "runtime"
+            payload: r
           sendExportedPorts connection, runtime       
-        else
-          connection.send
-              protocol: "runtime"
-              command: "runtime"
-              payload: r
-          sendExportedPorts connection, runtime
     else if command is 'packet'
         sendPacket runtime, payload.port, payload.event, payload.payload
     else

  flowhub = require("flowhub-registry")
catch e
  #

liveProgramming = process.env.MICROFLO_LIVE?

commandstream = require("./commandstream")
generate = require("./generate")

            src:
                process: payload.node
                port: payload.port

        # update subscriptions on device side
        edges = runtime.exportedEdges.concat runtime.edgesForInspection
        handleNetworkEdges runtime, connection, edges, (err) ->
          console.log 'handle network edges error', err if err

        sendAck connection, { protocol: 'graph', command: command, payload: payload }
    else if command is "removeoutport"
