@@ -279,7 +279,7 @@ exports[`lsp didChangeWatchedFiles > clears diagnostics for a deleted file after
279279 " build.typecheck_wave[file_count=1]",
280280 " build.typecheck_file[module=Root, package=rewatch-test-fixture]",
281281 " lsp.did_change_watched_files[file_count=1]",
282- " lsp.flush[project_builds=created: src/Temporary.res]",
282+ " lsp.flush[project_builds=created: src/Temporary.res, incremental_builds=src/Temporary.res ]",
283283 " lsp.flush.project_build[project=rewatch-test-fixture]",
284284 " build.load_package_sources[package=@rewatch-test/app]",
285285 " build.load_package_sources[package=@rewatch-test/library]",
@@ -293,6 +293,20 @@ exports[`lsp didChangeWatchedFiles > clears diagnostics for a deleted file after
293293 " build.typecheck_wave[file_count=1]",
294294 " build.typecheck_file[module=Temporary, package=rewatch-test-fixture]",
295295 " build.compile_error",
296+ " lsp.flush.file_build.batch[modules=["Temporary"], error_count=1]",
297+ " lsp.flush.file_build.compile_dependencies[error_count=1]",
298+ " build.parse[dirty_modules=1]",
299+ " build.parse_file[module=Temporary, package=rewatch-test-fixture]",
300+ " compile_dependencies[module_count=5, output=lsp]",
301+ " build.compile",
302+ " build.compile_wave[file_count=1]",
303+ " build.compile_file[module=Temporary, package=rewatch-test-fixture, suffix=.mjs, module_system=esmodule]",
304+ " build.compile_error",
305+ " lsp.flush.file_build.typecheck_dependents[dependent_count=0]",
306+ " typecheck_dependents[module_count=5, output=lsp]",
307+ " build.typecheck",
308+ " build.typecheck_wave[file_count=0]",
309+ " lsp.flush.file_build.compile_resolved",
296310 " lsp.did_change_watched_files[file_count=1]",
297311 " lsp.flush[project_builds=deleted: src/Temporary.res]",
298312 " lsp.flush.project_build[project=rewatch-test-fixture]",
@@ -587,7 +601,7 @@ exports[`lsp didChangeWatchedFiles > deleting a .res file also removes its .resi
587601 " build.typecheck_wave[file_count=1]",
588602 " build.typecheck_file[module=Root, package=rewatch-test-fixture]",
589603 " lsp.did_change_watched_files[file_count=2]",
590- " lsp.flush[project_builds=created: src/Foo.res, src/Foo.resi]",
604+ " lsp.flush[project_builds=created: src/Foo.res, src/Foo.resi, incremental_builds=src/Foo.res, src/Foo.resi ]",
591605 " lsp.flush.project_build[project=rewatch-test-fixture]",
592606 " build.load_package_sources[package=@rewatch-test/app]",
593607 " build.load_package_sources[package=@rewatch-test/library]",
@@ -601,6 +615,20 @@ exports[`lsp didChangeWatchedFiles > deleting a .res file also removes its .resi
601615 " build.typecheck",
602616 " build.typecheck_wave[file_count=1]",
603617 " build.typecheck_file[module=Foo, package=rewatch-test-fixture]",
618+ " lsp.flush.file_build.batch[modules=["Foo", "Foo"]]",
619+ " lsp.flush.file_build.compile_dependencies",
620+ " build.parse[dirty_modules=1]",
621+ " build.parse_file[module=Foo, package=rewatch-test-fixture]",
622+ " build.parse_file[module=Foo, package=rewatch-test-fixture]",
623+ " compile_dependencies[module_count=5, output=lsp]",
624+ " build.compile",
625+ " build.compile_wave[file_count=1]",
626+ " build.compile_file[module=Foo, package=rewatch-test-fixture, suffix=.mjs, module_system=esmodule]",
627+ " lsp.flush.file_build.typecheck_dependents[dependent_count=0]",
628+ " typecheck_dependents[module_count=5, output=lsp]",
629+ " build.typecheck",
630+ " build.typecheck_wave[file_count=0]",
631+ " lsp.flush.file_build.compile_resolved",
604632 " lsp.did_change_watched_files[file_count=1]",
605633 " lsp.flush[incremental_builds=src/Foo.res]",
606634 " lsp.flush.file_build.batch[modules=["Foo"]]",
@@ -911,7 +939,7 @@ exports[`lsp didChangeWatchedFiles > deleting a .resi file does not remove the .
911939 " build.typecheck_wave[file_count=1]",
912940 " build.typecheck_file[module=Root, package=rewatch-test-fixture]",
913941 " lsp.did_change_watched_files[file_count=2]",
914- " lsp.flush[project_builds=created: src/Bar.res, src/Bar.resi]",
942+ " lsp.flush[project_builds=created: src/Bar.res, src/Bar.resi, incremental_builds=src/Bar.res, src/Bar.resi ]",
915943 " lsp.flush.project_build[project=rewatch-test-fixture]",
916944 " build.load_package_sources[package=@rewatch-test/app]",
917945 " build.load_package_sources[package=@rewatch-test/library]",
@@ -925,6 +953,20 @@ exports[`lsp didChangeWatchedFiles > deleting a .resi file does not remove the .
925953 " build.typecheck",
926954 " build.typecheck_wave[file_count=1]",
927955 " build.typecheck_file[module=Bar, package=rewatch-test-fixture]",
956+ " lsp.flush.file_build.batch[modules=["Bar", "Bar"]]",
957+ " lsp.flush.file_build.compile_dependencies",
958+ " build.parse[dirty_modules=1]",
959+ " build.parse_file[module=Bar, package=rewatch-test-fixture]",
960+ " build.parse_file[module=Bar, package=rewatch-test-fixture]",
961+ " compile_dependencies[module_count=5, output=lsp]",
962+ " build.compile",
963+ " build.compile_wave[file_count=1]",
964+ " build.compile_file[module=Bar, package=rewatch-test-fixture, suffix=.mjs, module_system=esmodule]",
965+ " lsp.flush.file_build.typecheck_dependents[dependent_count=0]",
966+ " typecheck_dependents[module_count=5, output=lsp]",
967+ " build.typecheck",
968+ " build.typecheck_wave[file_count=0]",
969+ " lsp.flush.file_build.compile_resolved",
928970 " lsp.did_change_watched_files[file_count=1]",
929971 " lsp.flush[project_builds=deleted: src/Bar.resi]",
930972 " lsp.flush.project_build[project=rewatch-test-fixture]",
@@ -1221,7 +1263,7 @@ exports[`lsp didChangeWatchedFiles > picks up a newly created file after a Creat
12211263 " build.typecheck_wave[file_count=1]",
12221264 " build.typecheck_file[module=Root, package=rewatch-test-fixture]",
12231265 " lsp.did_change_watched_files[file_count=1]",
1224- " lsp.flush[project_builds=created: src/NewModule.res]",
1266+ " lsp.flush[project_builds=created: src/NewModule.res, incremental_builds=src/NewModule.res ]",
12251267 " lsp.flush.project_build[project=rewatch-test-fixture]",
12261268 " build.load_package_sources[package=@rewatch-test/app]",
12271269 " build.load_package_sources[package=@rewatch-test/library]",
@@ -1235,6 +1277,20 @@ exports[`lsp didChangeWatchedFiles > picks up a newly created file after a Creat
12351277 " build.typecheck_wave[file_count=1]",
12361278 " build.typecheck_file[module=NewModule, package=rewatch-test-fixture]",
12371279 " build.compile_error",
1280+ " lsp.flush.file_build.batch[modules=["NewModule"], error_count=1]",
1281+ " lsp.flush.file_build.compile_dependencies[error_count=1]",
1282+ " build.parse[dirty_modules=1]",
1283+ " build.parse_file[module=NewModule, package=rewatch-test-fixture]",
1284+ " compile_dependencies[module_count=5, output=lsp]",
1285+ " build.compile",
1286+ " build.compile_wave[file_count=1]",
1287+ " build.compile_file[module=NewModule, package=rewatch-test-fixture, suffix=.mjs, module_system=esmodule]",
1288+ " build.compile_error",
1289+ " lsp.flush.file_build.typecheck_dependents[dependent_count=0]",
1290+ " typecheck_dependents[module_count=5, output=lsp]",
1291+ " build.typecheck",
1292+ " build.typecheck_wave[file_count=0]",
1293+ " lsp.flush.file_build.compile_resolved",
12381294]
12391295` ;
12401296
0 commit comments