diff --git a/src/graph.luau b/src/graph.luau index 64f0abe..68329c0 100644 --- a/src/graph.luau +++ b/src/graph.luau @@ -247,7 +247,7 @@ end local function update_descendants(root: SourceNode, is_root_update: boolean?) local n0 = update_queue.n - if is_root_update then update_id += 1 end + if is_root_update and not flags.batch then update_id += 1 end queue_children_for_update(root) if flags.batch then return end