Skip to content

Commit

Permalink
Merge pull request #527 from garden-io/enable-dashboard
Browse files Browse the repository at this point in the history
feat(dashboard): enable by default
  • Loading branch information
edvald authored Feb 10, 2019
2 parents a256159 + 574f56d commit 348d692
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions garden-service/src/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,10 @@ export async function processModules(
})
})

// Experimental HTTP API and dashboard server.
if (process.env.GARDEN_ENABLE_SERVER === "1") {
// allow overriding automatic port picking
const port = Number(process.env.GARDEN_SERVER_PORT) || undefined
await startServer(garden, log, port)
}
// Start HTTP API and dashboard server.
// allow overriding automatic port picking
const port = Number(process.env.GARDEN_SERVER_PORT) || undefined
await startServer(garden, log, port)

await restartPromise

Expand Down

0 comments on commit 348d692

Please sign in to comment.