Skip to content

Commit

Permalink
fix(logging): Fix --verbose flag not working (#9050)
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh authored and natemoo-re committed Nov 22, 2023
1 parent 19daff2 commit 08924c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-deers-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fix --verbose flag not working
1 change: 1 addition & 0 deletions packages/astro/src/core/logger/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export const logger = {
};

export function enableVerboseLogging() {
debugPackage.enable('*,-babel');
debug('cli', '--verbose flag enabled! Enabling: DEBUG="*,-babel"');
debug(
'cli',
Expand Down

0 comments on commit 08924c7

Please sign in to comment.