JanitorTechnology / c9.ide.janitorconfig

Plugin that reads a janitor.json file and sets up c9 accordingly
0 stars 2 forks source link

Improve Preview configuration #10

Open jankeromnes opened 6 years ago

jankeromnes commented 6 years ago
"ports": {
  "8088": {
    "label": "VNC",
    "proxy": "https",
    "preview": true,
    "path": "/vnc.html"
  }
}

(Or maybe we could somehow merge preview and path, e.g. "preview": "/vnc.html"?)

{
  "Run (dev)": {
    "cmd": "./mach run --dev",
    "openPort": "8088"
  }
}

This attribute doesn't do anything yet, but maybe we could script Cloud9 to open the right preview when this Run configuration is triggered?