-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
GET https://app-name.local/livereload.js net::ERR_ABORTED 404 (Not Found) #87
Comments
I think the first step here would be to get a failing test going. This is the basic structure: ember-cli-inject-live-reload/tests/inject-live-reload-test.js Lines 114 to 120 in 750bc27
You'd just need to tweak it to match the arguments for From there we can try to dig into what is going awry... |
FWIW, I find the options that you've used to be pretty confusing: {
...
"liveReloadPort": 37531,
// This `liveReloadOptions` property becomes `window.LiveReloadOptions`
"liveReloadOptions": {
"port": 37631,
"https": true,
"host": "livereload.app-name.local"
},
"liveReloadJsUrl": "https://app-name.local/livereload.js"
} Specifically, having |
Even after changing
.ember-cli
Here are my nginx config files
nginx/servers/livereload_app-name_local.conf
|
I don’t fully grok what your nginx config is trying to do, is it trying to forward livereload requests to a separate port (37531)? Also, it seems odd that you are specifying Also, FYI, in [email protected] we made it possible for live reload to use the same port, and we do not start a second one any more (unless you specify liveReloadPort). So it may be possible to make your setup work without as much customization... |
I just followed the example given at the readme page. since they used different port for My only requirement is I need to serve my locally running ember app under |
Not sure, I have only a “stack overflow answers” based understanding of nginx config. Hopefully others can chime in and help... |
updating with the below code solves the issue,
Closing this for now !! |
I'm serving my ember app in
https
. Followed the example which was given in https://github.com/ember-cli/ember-cli-inject-live-reload at the bottom of the page. It was working fine in ember2.18.0
.ember-cli:
after updating
ember
to3.7.1
andember-cli-inject-live-reload
to2.0.1
getting error in browser consoleember-cli-live-reload.js:
The text was updated successfully, but these errors were encountered: