mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-24 20:51:55 +00:00
disable webserver if false
This commit is contained in:
parent
0f1f3a782a
commit
e925200592
@ -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