Skip to content

Commit 72f69c1

Browse files
authored
make the invalidation reason easier to read (vercel/turborepo#4669)
### Description before: ``` event - 141 requests (e. g. GET /api/exp) 22s ``` after: ``` event - 141 requests (GET /api/exp, ...) 22s ```
1 parent f1e9916 commit 72f69c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/turbo-tasks-fs/src/invalidation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl InvalidationReasonKind for WatchChangeKind {
3535
) -> std::fmt::Result {
3636
write!(
3737
f,
38-
"{} files changed (e. g. {})",
38+
"{} files changed ({}, ...)",
3939
reasons.len(),
4040
reasons[0]
4141
.as_any()

crates/turbopack-dev-server/src/invalidation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl InvalidationReasonKind for ServerRequestKind {
4242
.unwrap();
4343
write!(
4444
f,
45-
"{} requests (e. g. {} {})",
45+
"{} requests ({} {}, ...)",
4646
reasons.len(),
4747
example.method,
4848
example.uri.path()

0 commit comments

Comments
 (0)