-
Notifications
You must be signed in to change notification settings - Fork 778
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wrangler): Always display wrangler banner at the top
When running `wrangler dev` or `wrangler pages dev`, the wrangler banner is not consistently displayed at the top. For `wrangler pages dev` specifically, which calls `unstable_dev` under the hood, and thus deferring the banner printing to this API, the banner ends up getting lost inbetween other pages-specific logs/warnings, making the whole `pages dev` output vibe random at best. This commit ensures we always display the banner at the top when in dev mode, by: - delegating the banner printing to `pages dev` directly - moving calling `printWranglerBanner()` fn first thing in both wrangler/pages dev handlers - providing a mechanism in the `unstable_dev` API that makes the banner printing at that level optional Fixes #4265
- Loading branch information
1 parent
3e5d020
commit a6741ff
Showing
5 changed files
with
27 additions
and
6 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
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
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