Expose a way to change the host in config
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 696
- Avg merge
- 8m
- Merged PRs (30d)
- 7
Description
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
I can only customize host with localhost, tunnel or lan
What is the expected behavior?
I want to be able to provide an alias for localhost for local web development. I don't want to be limited to only use localhost:{port}. This would be similar to using server.host as vite does, or webpack does with devServer.host
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files or tests. Start by locating Metro's host configuration entry point and trace how the existing localhost, tunnel, and lan values are handled. Done means local web development can accept a user-provided host alias and the behavior is covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, devtools, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100