-
Notifications
You must be signed in to change notification settings - Fork 12
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
Allow using pear with an arbitrary index.html #234
Comments
do you mean change the root of the requests? it just mounts the folder you stage as |
Here's a reproduction: https://github.com/knownasilya/pear-rss Run |
@knownasilya change you dev script to explained: |
My guess is because I confirmed the above, by changing the paths manually (I could fix this from the Ember side). An additional issue is that the index is served as If the index could be served at |
@knownasilya if dist doesn't have a package.json then it's |
does the dist folder contain ember-cli-live-reload.js? if not that's the issue - ember might be doing something weird with paths? dist folder needs to be fully self contained, not sure why it would load dev tooling like that anyway? |
That one was actually not there (another issue, but not related to this). Deleting that gives me: I updated the repo above with the dist dir: https://github.com/knownasilya/pear-rss so you can see what is there |
@knownasilya can you try with latest Pear v0.4444.pqbzjhqyonxprx8hghxexnmctw75mr91ewqw5dxe1zmntfyaddqy - if still no dice then write down the exact commands to run to reproduce, from cloning the repo etc on and I'll take a look at debugging it |
I ran into a similar issue. My main entry point in This works fine in dev mode. But when staging/releasing/seeding it seems to ignore that path and appears to use What worked was copying the contents of the dist folder and the package.json into a new folder |
I wanted to get pear running with Ember.JS, which deposits its built index.html inside of
dist/index.html
. I wasn't able to get it to work due to path issues since pear assumeddist
was part of the path or something like that.The text was updated successfully, but these errors were encountered: