diff options
author | 2023-11-10 11:35:20 +0100 | |
---|---|---|
committer | 2023-11-10 11:35:20 +0100 | |
commit | bf0286e50c09f8b5a08af63d7837add69af9b7e4 (patch) | |
tree | 1356308626a5ce60e916a1690b9219851c24c6af | |
parent | a888e985384918798e7c2f203e0dee48a4a21225 (diff) | |
download | astro-bf0286e50c09f8b5a08af63d7837add69af9b7e4.tar.gz astro-bf0286e50c09f8b5a08af63d7837add69af9b7e4.tar.zst astro-bf0286e50c09f8b5a08af63d7837add69af9b7e4.zip |
fix(logging): Fix --verbose flag not working (#9050)
-rw-r--r-- | .changeset/little-deers-glow.md | 5 | ||||
-rw-r--r-- | packages/astro/src/core/logger/node.ts | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/little-deers-glow.md b/.changeset/little-deers-glow.md new file mode 100644 index 000000000..2568a7b5a --- /dev/null +++ b/.changeset/little-deers-glow.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix --verbose flag not working diff --git a/packages/astro/src/core/logger/node.ts b/packages/astro/src/core/logger/node.ts index aeef4bd84..57aa59ed0 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', |