-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename debug-log-file to reflect non-debug-only behaviour * change default log directory to global config dir instead of project root .wrangler frameworks may be watching the project root .wrangler dir for changes causing an infinite loop of update logs e.g. #4482 * only print log file location if seen error message + update log emoji to 🪵 instead of 🐛 since it's not just a debug log file anymore * print absolute log file path since it's now in the home directory, no longer near the cwd * use console.warn instead of logger.warn so not to have include the *very* visible bright-yellow [WARNING] indicator
- Loading branch information
Showing
3 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
Changes the default directory for log files to workaround frameworks that are watching the entire `.wrangler` directory in the project root for changes | ||
|
||
Also includes a fix for commands with `--json` where the log file location message would cause stdout to not be valid JSON. That message now goes to stderr. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters