From 1f7e434632bfc8c6b612f46d208b03e4600bc210 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Tue, 2 Oct 2018 17:19:21 -0400 Subject: [PATCH] Pass logger to webserver --- lib/modules/webserver/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/webserver/index.js b/lib/modules/webserver/index.js index 7d8d383f..2bffc6d2 100644 --- a/lib/modules/webserver/index.js +++ b/lib/modules/webserver/index.js @@ -27,13 +27,13 @@ class WebServer { this.enableCatchAll = false; // FIXME when true, some Requests end up failing (eg: process-logs) this.events.emit("status", __("Starting Server")); - this.server = new Server({logger: this.logger, host: this.host, port: this.port, events: this.events, plugins: this.plugins, enableCatchAll: this.enableCatchAll}); this.server = new Server({ logger: this.logger, buildDir: this.buildDir, events: this.events, host: this.host, + logger: this.logger, port: this.port, plugins: this.plugins, openBrowser: this.webServerConfig.openBrowser