Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

option "defaultBrowser" in ionic.config.json does not work #138

@koyabr

Description

@koyabr

operating system: MacOS Sierra 10.12.3
ionic version: 2.1.18

description:

  1. type ionic serve --browser "google chrome" in terminal => works as expected.
  2. add "defaultBrowser": "google chrome" in ionic.config.json, then type ionic serve in terminal => oops, safari pops out.

I've dug around in the source code of serve.js and project.js, Line 186 of serve.js:

options.defaultBrowser = argv.defaultBrowser || argv.f || project.get('defaultBrowser');

looks fine to me, nothing weird found...

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