GithubHelp home page GithubHelp logo

Comments (5)

danwenzel avatar danwenzel commented on June 13, 2024

@rwjblue - ⬆️ - Any insight here? I'd be happy to open a PR.

from ember-cli-inject-live-reload.

Redsandro avatar Redsandro commented on June 13, 2024

@danwenzel I tried your suggestion and change the command line option, but I still cannot get it to work. Can you change these parameters using command line options at all?

See #53

from ember-cli-inject-live-reload.

danwenzel avatar danwenzel commented on June 13, 2024

@Redsandro - I don't think there's a way to do it via command line options or environment variables. The idea is to add it to your .ember-cli file:

{
  "disableAnalytics": false,
  "usePods": true,
  "liveReloadBaseUrl": "http://localhost:4200/"
}

from ember-cli-inject-live-reload.

Redsandro avatar Redsandro commented on June 13, 2024

@danwenzel

I don't think there's a way to do it via command line options

There is, according to ember help:

$ ember help | grep reload
  --live-reload (Boolean) (Default: true)
  --live-reload-host (String) Defaults to host
  --live-reload-base-url (String) Defaults to baseURL
  --live-reload-port (Number) (Defaults to port number within [49152...65535])

I had trouble because of a firewall but now that I changed the configuration to allow the livereload port, I found that the --live-reload-host does actually work.

Analogous to that, I think that your premise is actually incorrect:

The README for this repo mentions a liveReloadHost option, but this doesn't seem to do anything

The liveReloadHost option does exist. Keep in mind that command line options are dasherized versions of options; e.g.: --live-reload-host

I think the answer to this issue's title is "no" and can safely be closed. There's quite some trial and error involved to substitute clear documentation. I changed my issue to request for clearer documentation.

I believe host is about the livereload websocket, and base-url is about the livereload javascript. I am still unsure.

See also: #33

from ember-cli-inject-live-reload.

danwenzel avatar danwenzel commented on June 13, 2024

Thanks for digging into this, @Redsandro ! I'll go ahead and close this issue

from ember-cli-inject-live-reload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.