ember-cli-inject-live-reload
ember-cli-inject-live-reload copied to clipboard
DEPRECATION: Upgrade ember-cli-inject-live-reload version to 1.10.0 or above
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
[...]
+-- [email protected]
`-- [email protected]
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?
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