1.0.0 • Published 7 years ago

ember-open-browser v1.0.0

Weekly downloads
1,304
License
MIT
Repository
github
Last release
7 years ago

ember-open-browser

npm Version

A small addon that opens an ember-cli application, using the systems default web browser, after an initial build via ember s.

This is only made possible by prior work within create-react-app.

Installation

  • ember install ember-open-browser

Overriding Default Browser

Open browser using firefox instead of the system default: BROWSER=firefox ember s

Temporarily disable addon: BROWSER=none ember s

Overriding the URI

By default, ember-open-browser will use derive the host, port, and scheme from ember-cli. Typically this is http://localhost:4200/.

There may be instances where you'll want to override this URI to point somewhere else - especially useful when you have an nginx instance standing in front of ember-cli's web server.

This can be defined within .ember-cli within your project root.

{
  "open-browser-uri": "https://google.local"
}

Disabling addon

Setting the BROWSER environment variable to none will disable the addon. Example: BROWSER=none ember s

A more persistent method of disabling ember-open-browser is adding "noBrowser": true to .ember-cli

Licensing

MIT License

See LICENSE.md See open-browser/LICENSE.md

1.0.0

7 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago