-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat: show mode
on server start and add env debugger
#18808
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
Conversation
@@ -69,6 +78,8 @@ export function loadEnv( | |||
} | |||
} | |||
|
|||
debug?.(`using resolved env: %O`, env) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we show process.env
values (internal values) too? What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this current log is fine for now 👍
mode
on server start and add env debugger
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current implementation looks good to me 👍
Description
Resolves #18719
Replaces #18721, whose target branch is v5
DevServer.printUrls
andPreviewServer.printUrls
.DevServer.printInfo
andPreviewServer.printInfo
.env
file names on server start