Repository navigation
Update from code changes: mint dev --host flag - #7965
Merged
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
dks333
approved these changes
Oct 22, 2026
This was referenced Oct 22, 2026
This branch was successfully deployed
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.
Documents the new
--hostflag formint devin the CLI commands table and adds a short "Preview on other devices" section to the local preview page.The local preview now listens only on
localhostand no longer prints a network URL by default, so previewing on a phone or another computer requiresmint dev --host.Based on a merged CLI change that always enables third-party libraries in
mint devand binds the local preview to localhost.Duplicate check: no open or recently merged docs PRs mention
--hostor local preview network access.Note
Low Risk
Documentation-only updates with no runtime or security logic changes in this PR.
Overview
Documents
mint dev --host, which exposes the local preview on the network instead of binding tolocalhostonly.The CLI commands reference adds a
--hostrow to themint devflags table. The local preview guide adds a Preview on other devices section that explains the default localhost-only behavior, how to runmint dev --host, and that the CLI prints a network URL for other devices on the same network.Reviewed by Cursor Bugbot for commit 54e0b85. Bugbot is set up for automated code reviews on this repo. Configure here.