Skip to content

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

Open
@umbopepato

Description

@umbopepato

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions