We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--dotenv
1 parent c263859 commit 3fe1ff9Copy full SHA for 3fe1ff9
src/commands/preview.ts
@@ -94,7 +94,7 @@ export default defineCommand({
94
: existsSync(cwd)
95
if (envExists) {
96
consola.info(
97
- 'Loading `.env`. This will not be loaded when running the server in production.',
+ `Loading \`${ctx.args.dotenv || '.env'}\`. This will not be loaded when running the server in production.`,
98
)
99
await setupDotenv({ cwd, fileName: ctx.args.dotenv })
100
}
0 commit comments