mirror of https://github.com/embarklabs/embark.git
Pass logger to webserver
This commit is contained in:
parent
801514c52b
commit
1f7e434632
|
@ -27,13 +27,13 @@ class WebServer {
|
||||||
this.enableCatchAll = false; // FIXME when true, some Requests end up failing (eg: process-logs)
|
this.enableCatchAll = false; // FIXME when true, some Requests end up failing (eg: process-logs)
|
||||||
|
|
||||||
this.events.emit("status", __("Starting Server"));
|
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({
|
this.server = new Server({
|
||||||
logger: this.logger,
|
logger: this.logger,
|
||||||
buildDir: this.buildDir,
|
buildDir: this.buildDir,
|
||||||
events: this.events,
|
events: this.events,
|
||||||
host: this.host,
|
host: this.host,
|
||||||
|
logger: this.logger,
|
||||||
port: this.port,
|
port: this.port,
|
||||||
plugins: this.plugins,
|
plugins: this.plugins,
|
||||||
openBrowser: this.webServerConfig.openBrowser
|
openBrowser: this.webServerConfig.openBrowser
|
||||||
|
|
Loading…
Reference in New Issue