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

DEPRECATION: Upgrade ember-cli-inject-live-reload version to 1.10.0 or above #106

Open
boesi opened this issue Jun 17, 2019 · 1 comment

Comments

@boesi
Copy link

boesi commented Jun 17, 2019

I get the message DEPRECATION: Upgrade ember-cli-inject-live-reload version to 1.10.0 or above when I use the option "liveReloadOptions": {...} or "liveReloadJsUrl": "...".

When I remove liveReloadOptions the message goes away.

$ ember v
ember-cli: 3.10.1
node: 12.4.0
os: win32 x64
$ npm ls ember-cli-inject-live-reload ember-source
[...]
+-- ember-cli-inject-live-reload@2.0.1
`-- ember-source@3.8.2

I solved it by now by changing my apache config to use mod_proxy_wstunnel. But how can I use liveReloadOptions without a deprecation warning?

@linearza
Copy link

linearza commented Sep 6, 2023

I was running into this, in addition to a 404 I was getting. Browsing the addon code I found that it was actually watching an undocumented property liveReloadBaseUrl here.

Setting this in .ember-cli solved both the deprecation message and the 404 for us.

EDIT: browsing the issues I see there are quite a few related to this property, so seems to be a common pitfall. FWIW, I couldn't get the new options hash to work via .ember-cli - though it sounds like it works fine in the command line

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

No branches or pull requests

2 participants