Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New option: cargo doc --watch #10813

Closed
FauconFan opened this issue Jul 2, 2022 · 1 comment
Closed

New option: cargo doc --watch #10813

FauconFan opened this issue Jul 2, 2022 · 1 comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Comments

@FauconFan
Copy link

Problem

Hi, I would like to propose a new feature for the doc subcommand. It would be nice to regenerate the documentation when source code files change. This could be done relatively easily using the notify crate. Like mdbook does. A current workaround could be:

cargo watch -x doc

This workaround uses the cargo-watch extension for cargo, but this feature could be handle directly into cargo ?

Proposed Solution

No response

Notes

No response

@FauconFan FauconFan added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Jul 2, 2022
@ehuss
Copy link
Contributor

ehuss commented Jul 4, 2022

Thanks for the suggestion! I'm going to close this as a duplicate of #9339 which is more or less the same.

@ehuss ehuss closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Projects
None yet
Development

No branches or pull requests

2 participants