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

Projects are being discovered inside of node_modules #63

Closed
adam-coster opened this issue May 4, 2023 · 1 comment
Closed

Projects are being discovered inside of node_modules #63

adam-coster opened this issue May 4, 2023 · 1 comment
Assignees
Labels
🔥 bug Something isn't working ⌨️ vscode The Stitch extension for VSCode

Comments

@adam-coster
Copy link
Member

When the extension boots up and searches for yyp files, it is apparently included node_modules, resulting in the template shipped with Stitch Core being discovered when that's installed locally.

@adam-coster adam-coster added 🔥 bug Something isn't working ⌨️ vscode The Stitch extension for VSCode labels May 4, 2023
@adam-coster adam-coster added this to the vscode-mvp milestone May 4, 2023
@adam-coster adam-coster self-assigned this May 4, 2023
@adam-coster
Copy link
Member Author

It turns out this is because VSCode's file-finding functionality defaults to excluding whatever you have set in your VSCode files.exclude settings. So if you are not excluding node_modules, you'll end up discovering projects inside of there.

It's probably best not to override this behavior, so I've instead updated the docs to mention it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 bug Something isn't working ⌨️ vscode The Stitch extension for VSCode
Projects
None yet
Development

No branches or pull requests

1 participant