Skip to content

https config is overridden by flag #1211

@OliverJAsh

Description

@OliverJAsh

Version 2.14.0

Given a config file

module.exports = {
    https: {
        key: '../server/ssl/server.key',
        cert: '../server/ssl/server.crt',
    }
};

When I run browser-sync start --config bs-config.js, the options (after merging flags) end up as:

{
    https: false,
    // …
}

Notice https is false.

It seems that the default https flag overrides my configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions