Comments (5)
@rwjblue - ⬆️ - Any insight here? I'd be happy to open a PR.
from ember-cli-inject-live-reload.
@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.
@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.
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.
Thanks for digging into this, @Redsandro ! I'll go ahead and close this issue
from ember-cli-inject-live-reload.
Related Issues (20)
- Skipping livereload for: HOT 1
- DEPRECATION: Upgrade ember-cli-inject-live-reload version to 1.10.0 or above HOT 1
- Add CLI flag for --live-reload-js-url HOT 4
- [feature] support overlay for errors and warnings HOT 3
- Livereload script not injected after a refresh HOT 1
- Bug: new Ember app doesn't transition into or out-of broccoli-middleware error page
- Injected script not being appropriately fingerprinted HOT 2
- liveReloadBaseUrl with absolute url no longer supported HOT 11
- Tests HOT 3
- Live reload on master not working (500 error) HOT 2
- Is it possible to remove the need for a liveReloadPort added to the livereload url HOT 1
- Possible to pull liveReloadBaseUrl from environment?
- Possibility of having different server port and base url port HOT 2
- No way to fetch / serve from different URLs
- --live-reload-* command line options need documentation HOT 2
- Incorrect dynamic script returned when hostname and ember server are on different ports. Setting `options.liveReloadPort` breaks the loading of livereload.js script HOT 3
- Ember css live inject not working HOT 1
- >= 1.10 Doesn't Respect `liveReloadBaseUrl` HOT 6
- GET https://app-name.local/livereload.js net::ERR_ABORTED 404 (Not Found) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-inject-live-reload.