{"draft":null,"from":163,"to":164,"files":[{"path":"worker/project/queue.ts","added":6,"removed":3,"diff":"--- a/worker/project/queue.ts\n+++ b/worker/project/queue.ts\n@@ -237,9 +237,12 @@\n \thost.needInit();\n \tconst items = host.queued().slice(0, Math.max(0, n));\n \tconst changes = items.flatMap((q) => q.changes);\n-\tconst view = host.sharedOverlay\n-\t\t? host.sharedOverlay(changes)\n-\t\t: host.view(unionOverlay(host.setOf(host.shared()), changes));\n+\tconst view =\n+\t\tchanges.length === 0\n+\t\t\t? host.sharedView()\n+\t\t\t: host.sharedOverlay\n+\t\t\t\t? host.sharedOverlay(changes)\n+\t\t\t\t: host.view(unionOverlay(host.setOf(host.shared()), changes));\n \tconst files = view.files();\n \tconst modes = modesOf(view);\n \tconst blobs = view.blobs();"}],"unmatched":[]}