From 864e5ad0a8fc7cebfee8be6121eb411ad5287471 Mon Sep 17 00:00:00 2001 From: Princesseuh <3019731+Princesseuh@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:27:37 +0100 Subject: [PATCH 1/2] fix(logging): Fix --verbose flag not working --- packages/astro/src/core/logger/node.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/astro/src/core/logger/node.ts b/packages/astro/src/core/logger/node.ts index aeef4bd84219..57aa59ed02d4 100644 --- a/packages/astro/src/core/logger/node.ts +++ b/packages/astro/src/core/logger/node.ts @@ -124,6 +124,7 @@ export const logger = { }; export function enableVerboseLogging() { + debugPackage.enable('*,-babel'); debug('cli', '--verbose flag enabled! Enabling: DEBUG="*,-babel"'); debug( 'cli', From 2d142cba8f2a7c9ef050d27bae66dcc478509953 Mon Sep 17 00:00:00 2001 From: Princesseuh <3019731+Princesseuh@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:28:07 +0100 Subject: [PATCH 2/2] chore: changeset --- .changeset/little-deers-glow.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/little-deers-glow.md diff --git a/.changeset/little-deers-glow.md b/.changeset/little-deers-glow.md new file mode 100644 index 000000000000..2568a7b5a16f --- /dev/null +++ b/.changeset/little-deers-glow.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix --verbose flag not working