From 574f56d6f52ba0595981a77d4660cb899bc64a3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ey=C3=BE=C3=B3r=20Magn=C3=BAsson?= <eysi09@gmail.com>
Date: Sat, 9 Feb 2019 10:32:22 +0100
Subject: [PATCH] feat(dashboard): enable by default

---
 garden-service/src/process.ts | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/garden-service/src/process.ts b/garden-service/src/process.ts
index 6245e15bb2..fcc436437e 100644
--- a/garden-service/src/process.ts
+++ b/garden-service/src/process.ts
@@ -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