unable to use serve as a http server if site-url is required
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.2k
- Forks
- 1.9k
- PR merge metrics
- PR metrics pending
Description
The code snippet makes it impossible to use the serve command to be used as a http server.
It is pretty handy if you want to also watch for changes.
I guess there is a reason for overwriting site-url here, is that still necessary?
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
Start by reading src/cmd/serve.rs at the linked line and reproduce the serve command with a required site-url. Determine why site-url is overwritten and whether that is necessary; done means serve can act as an HTTP server while watching for changes without breaking required site-url handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100