forcedotcom / lwc-dev-server-feedback

LWC Local Development
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

Only shows components in the force-app directory #84

Open BrettMN opened 4 years ago

BrettMN commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

If the sfdx-project.json specifies a different path as default the local server shows that path (package) as being available but it does not find any components from that path.

If the directory is changed to force-app, even without updating the sfdx-package.json, the components appear.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

use a path besides force-app for you package

Expected behavior A clear and concise description of what you expected to happen.

list the components in the directory specified as default.

Screenshots If applicable, add screenshots to help explain your problem.

{
    "packageDirectories": [
        {
            "path": "questions",
            "default": true
        }
    ],
    "namespace": "",
    "sfdcLoginUrl": "https://login.salesforce.com",
    "sourceApiVersion": "50.0"
}

Screen Shot 2020-10-11 at 8 24 23 PM

Desktop (please complete the following information):

MacOS 10.15.7 Chrome 85.0.4183.121

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

stale[bot] commented 4 years ago

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.

git2gus[bot] commented 4 years ago

This issue has been linked to a new work item: W-8231933