Skip to content

Commit 695e58d

Browse files
JohnTitormark-i-m
authored andcommitted
Apply suggestions from Zoxc
1 parent 2154b85 commit 695e58d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/queries/incremental-compilation-in-detail.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ respect to incremental compilation:
413413
even try to mark the query's dep-node as green. This attribute has two use
414414
cases:
415415

416-
- Queries that are **inputs** to the system must be marked as `eval_always`
417-
since we have no other way of checking whether their value has changed.
416+
- `eval_always` queries can read inputs (from files, global state, etc).
417+
They can also produce side effects like writing to files and changing global state.
418418

419419
- Some queries are very likely to be re-evaluated because their result
420420
depends on the entire source code. In this case `eval_always` can be used

0 commit comments

Comments
 (0)