Skip to content

CLI paths take the PC Root, not the project's path root. #8831

Closed
@muchisx

Description

Astro Info

"Astro                    v3.2.2\nNode                     v18.16.0\nSystem                   Windows (x64)\nPackage Manager          npm\nOutput                   server\nAdapter                  @astrojs/vercel/serverless\nIntegrations             @custom/update-webflow-js\n                         @astrojs/tailwind\n                         @astrojs/preact\n                         @astrojs/prefetch\n                         astro-robots-txt"

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

The Astro CLI during npm run dev is using my entire pc path for outputs, can this be modified to instead use the project's root path?

image

What's the expected result?

I would think the project's root path is better! instead of the entire PC path !

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-n2mknz?file=README.md

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Assignees

No one assigned

    Labels

    - P2: nice to haveNot breaking anything but nice to have (priority)feat: devRelated to `astro dev` CLI command (scope)help wantedPlease help with this issue!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions