We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo dev serve
1 parent b522e7a commit 9661ba0Copy full SHA for 9661ba0
clippy_dev/src/serve.rs
@@ -19,7 +19,9 @@ pub fn run(port: u16, lint: Option<String>) -> ! {
19
});
20
21
loop {
22
- if mtime("util/gh-pages/index.html") < mtime("clippy_lints/src") {
+ let index_time = mtime("util/gh-pages/index.html");
23
+
24
+ if index_time < mtime("clippy_lints/src") || index_time < mtime("util/gh-pages/index_template.html") {
25
Command::new(env::var("CARGO").unwrap_or("cargo".into()))
26
.arg("collect-metadata")
27
.spawn()
0 commit comments