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

Show mount points in debug log #1325

Merged
merged 3 commits into from
Oct 15, 2020

Conversation

canadaduane
Copy link
Contributor

(attempt no. 2 due to github weirdness)

Changes

In dev mode, adds debug info regarding what directories on disk are available at what URLs.

Run dev server with debug enabled:

yarn start --verbose

See more info ("Using in-memory cache for mount points:"):

image

Testing

Tested locally. No tests written, it just adds debug info.

Docs

We could add this to docs? I don't think it's necessary. But it is educational...

@canadaduane canadaduane requested a review from a team as a code owner October 15, 2020 19:48
@vercel
Copy link

vercel bot commented Oct 15, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pikapkg/snowpack/1u28htu8i
✅ Preview: https://snowpack-git-show-mount-points-debug.pikapkg.vercel.app

@canadaduane canadaduane changed the title Show mount points debug Show mount points in debug log Oct 15, 2020
@FredKSchott
Copy link
Owner

looks like formatting got all messed up in this branch, you can run yarn format in the monorepo to fix

@canadaduane
Copy link
Contributor Author

Good catch.

Copy link
Owner

@FredKSchott FredKSchott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FredKSchott FredKSchott merged commit 970af70 into FredKSchott:master Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants