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

Polymer serve's --component-url option has no effect #3495

Open
umbopepato opened this issue Apr 12, 2020 · 1 comment · May be fixed by #3496
Open

Polymer serve's --component-url option has no effect #3495

umbopepato opened this issue Apr 12, 2020 · 1 comment · May be fixed by #3496
Labels

Comments

@umbopepato
Copy link

umbopepato commented Apr 12, 2020

Polymer serve's --component-url option has no effect on the actual component url used, which is always set to components.

To reproduce
Run

$ polymer serve --component-url <some-component-url>

The output is always:

> info:   Files in this directory are available under the following URLs
       applications: http://localhost:8081
       reusable components: http://localhost:8081/components/<root-name>/
                                                  ^^^^^^^^^^

Expected behavior
The reusable components should be served under http://localhost:8081/<some-component-url>/<root-name>/.


This makes polymer cli's server practically unusable in any project where the components source files are (understandably) placed in a folder named components.

umbopepato added a commit to umbopepato/tools that referenced this issue Apr 12, 2020
Fixes Polymer#3495: add `componentUrl` to the server options passed to
polyserve, pass `serverOptions` instead of `options` to
`getServerUrls()`
@umbopepato umbopepato linked a pull request Apr 12, 2020 that will close this issue
@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant