You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this belongs in this repository or ember-cli, so I thought I'd start here.
I'm trying to upgrade my Ember app to 2.7, which includes the deprecation of baseURL in favor of rootURL, and am having issues with ember-cli-live-reload.js not being correctly loaded anymore. I believe I've narrowed it down to the fact that this addon's content-for "head" is generating a script HTML tag that is not appropriately fingerprinted as part of my development workflow. I follow the ember-cli-deploy-lightning-pack deployment process, including setting a fingerprint.prepend config option so that I can easily run the Ember app via my Rails API backend.
What I end up seeing locally in my compiled index.html is:
You'll notice that all of the script/link tags have http://foo.example.com:3701 prepended to the asset path, but the ember-cli-live-reload.jsscript tag does not.
I'm pretty sure this is because the data returned from contentFor is not being passed through the broccoli-asset-rev fingerprinting process, but don't know enough about it to figure out why.
Let me know if there is anything else I can do to help figure out how to resolve this, or if I'm just doing something stupid!
The text was updated successfully, but these errors were encountered:
I hit this recently on an app loaded with a custom rootURL, and was able to leverage that to get the correct "fingerprinting" on the ember-cli-live-reload. But I'm in the same situation on another app that lives on "/" so I can't use that workaround.
I'm not sure if this belongs in this repository or
ember-cli
, so I thought I'd start here.I'm trying to upgrade my Ember app to 2.7, which includes the deprecation of
baseURL
in favor ofrootURL
, and am having issues withember-cli-live-reload.js
not being correctly loaded anymore. I believe I've narrowed it down to the fact that this addon'scontent-for "head"
is generating ascript
HTML tag that is not appropriately fingerprinted as part of my development workflow. I follow theember-cli-deploy-lightning-pack
deployment process, including setting afingerprint.prepend
config option so that I can easily run the Ember app via my Rails API backend.What I end up seeing locally in my compiled
index.html
is:You'll notice that all of the
script
/link
tags havehttp://foo.example.com:3701
prepended to the asset path, but theember-cli-live-reload.js
script
tag does not.I'm pretty sure this is because the data returned from
contentFor
is not being passed through thebroccoli-asset-rev
fingerprinting process, but don't know enough about it to figure out why.Let me know if there is anything else I can do to help figure out how to resolve this, or if I'm just doing something stupid!
The text was updated successfully, but these errors were encountered: