From 20f4e872dce51e9e322fab764ec21b975f079533 Mon Sep 17 00:00:00 2001 From: Joel Arvidsson Date: Tue, 18 Sep 2018 10:50:06 +0200 Subject: [PATCH] Fix ignored --projectRoot/watchFolders arguments --- local-cli/server/runServer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/local-cli/server/runServer.js b/local-cli/server/runServer.js index eabd5c2da6ead9..b3859eb0a4b128 100644 --- a/local-cli/server/runServer.js +++ b/local-cli/server/runServer.js @@ -58,6 +58,8 @@ async function runServer(args: Args, config: ConfigT) { config.server.port = args.port; config.reporter = reporter; config.resetCache = args.resetCache; + config.projectRoot = args.projectRoot; + config.watchFolders = args.watchFolders.slice(0); config.server.enhanceMiddleware = middleware => middlewareManager.getConnectInstance().use(middleware);