fix(cli): background with host#17158
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 77468a7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 391 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
matthewp
reviewed
Jun 23, 2026
| return new URL('.astro/dev.log', root); | ||
| } | ||
|
|
||
| function isStringArray(value: unknown): value is string[] { |
Contributor
There was a problem hiding this comment.
do we have a utility for this already?
Member
Author
There was a problem hiding this comment.
I couldn't find anything similar to this
Merged
dadezzz
pushed a commit
to dadezzz/university_notes
that referenced
this pull request
Jun 28, 2026
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [astro](https://astro.build) ([source](https://github.com/withastro/astro/tree/HEAD/packages/astro)) | [`7.0.0` → `7.0.2`](https://renovatebot.com/diffs/npm/astro/7.0.0/7.0.2) |  |  | --- ### Release Notes <details> <summary>withastro/astro (astro)</summary> ### [`v7.0.2`](https://github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#702) [Compare Source](https://github.com/withastro/astro/compare/astro@7.0.1...astro@7.0.2) ##### Patch Changes - Updated dependencies \[[`3b5e994`](withastro/astro@3b5e994)]: - [@​astrojs/markdown-satteri](https://github.com/astrojs/markdown-satteri)@​0.3.2 ### [`v7.0.1`](https://github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#701) [Compare Source](https://github.com/withastro/astro/compare/astro@7.0.0...astro@7.0.1) ##### Patch Changes - [#​17151](withastro/astro#17151) [`ccceda3`](withastro/astro@ccceda3) Thanks [@​matthewp](https://github.com/matthewp)! - Fixes `astro dev` incorrectly starting in background mode for Warp terminal users. Hybrid environments like Warp are no longer treated as AI agents for auto-background detection. - [#​17158](withastro/astro#17158) [`164df87`](withastro/astro@164df87) Thanks [@​ematipico](https://github.com/ematipico)! - Fixes `astro dev --background --host` not listing the network addresses. The background server start output and `astro dev status` now show every exposed network URL, matching the foreground dev server. - [#​17141](withastro/astro#17141) [`d785b9d`](withastro/astro@d785b9d) Thanks [@​astrobot-houston](https://github.com/astrobot-houston)! - Fixes responsive image CSS overriding user styles defined inside CSS `@layer` blocks. The generated image styles are now wrapped in `@layer astro.images`, ensuring they have lower cascade priority than user-defined layers. - [#​17150](withastro/astro#17150) [`1a61386`](withastro/astro@1a61386) Thanks [@​matthewp](https://github.com/matthewp)! - Fixes `astro dev --background` failing on Windows with "Failed to spawn background dev server process" </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](undefined) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIzNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Fixes an issue where using
--background --hostdidn't take the new URLs into consideration.Testing
Added new tests
Docs
No changes. The feature should be supported out of the box.