mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
Merge pull request #781 from embark-framework/bug_fix/no-webserver-if-false
Do not start webserver if set to false in embark.json
This commit is contained in:
commit
428820f2c6
@ -322,6 +322,10 @@ Config.prototype.loadWebServerConfigFile = function() {
|
||||
|
||||
let webServerConfig = this._mergeConfig(configFilePath, configObject, false);
|
||||
|
||||
if (configFilePath === false) {
|
||||
this.webServerConfig = {enabled: false};
|
||||
return;
|
||||
}
|
||||
if (this.webServerConfig) {
|
||||
// cli falgs to `embark run` should override configFile and defaults (configObject)
|
||||
this.webServerConfig = utils.recursiveMerge(webServerConfig, this.webServerConfig);
|
||||
|
Loading…
x
Reference in New Issue
Block a user