Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Advanced Configuration #25

Merged
merged 3 commits into from
Jul 19, 2016
Merged

Conversation

chrislopresto
Copy link
Contributor

For review and discussion...

As discussed in the dev-ember-cli Slack channel, we made changes to support use of LiveReload through the reverse proxy in our development environment. Some additional complexity is due to the fact that we are using SSL locally.

Support LiveReload option configuration

  • Support standard LiveReload options in a liveReloadOptions POJO in
    the .ember-cli file. This set of options is passed through to
    window.LiveReloadOptions.
  • Optionally override the absolute URL used to load livereload.js via
    a new liveReloadJsUrl option in the .ember-cli file.

/cc @lukemelia

- Support standard LiveReload options in a `liveReloadOptions` POJO in
  the `.ember-cli` file. This set of options is passed through to
  `window.LiveReloadOptions`.
- Optionally override the absolute URL used to load `livereload.js` via
  a new `liveReloadJsUrl` option in the `.ember-cli` file.
@rwjblue rwjblue merged commit 6f98bbc into ember-cli:master Jul 19, 2016
@lukemelia
Copy link
Contributor

Better late than never 😸

var liveReloadPort = process.env.EMBER_CLI_INJECT_LIVE_RELOAD_PORT;
dynamicScript: function(options) {
var liveReloadOptions = options.liveReloadOptions;
if (liveReloadOptions.snipver === undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems liveReloadOptions may be undefined at times: #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants