From f84df08dbcab675a8419c42cc5c2a5258df37bff Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 31 May 2023 15:28:09 +0100 Subject: [PATCH] fix(nuxi): pass `--no-clear` config through to vite (#21262) --- packages/nuxi/src/commands/dev.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nuxi/src/commands/dev.ts b/packages/nuxi/src/commands/dev.ts index 7886c577ea..505003dc45 100644 --- a/packages/nuxi/src/commands/dev.ts +++ b/packages/nuxi/src/commands/dev.ts @@ -112,6 +112,9 @@ export default defineNuxtCommand({ ready: false, overrides: { logLevel: args['log-level'], + vite: { + clearScreen: args.clear + }, ...(options.overrides || {}) } })