Skip to content

Commit a75d5dc

Browse files
committed
fix #5153
1 parent 4e24627 commit a75d5dc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

jscomp/bsb/bsb_ninja_regen.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ let regenerate_ninja
5656
"@{<info>BSB check@} build spec : %a @." Bsb_ninja_check.pp_check_result check_result;
5757
if check_result = Bsb_bsc_version_mismatch then begin
5858
Bsb_log.warn "@{<info>Different compiler version@}: clean current repo@.";
59+
Bsb_clean.clean_bs_deps per_proj_dir;
5960
Bsb_clean.clean_self per_proj_dir;
6061
end ;
6162

lib/4.06.1/rescript.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14175,6 +14175,7 @@ let regenerate_ninja
1417514175
"@{<info>BSB check@} build spec : %a @." Bsb_ninja_check.pp_check_result check_result;
1417614176
if check_result = Bsb_bsc_version_mismatch then begin
1417714177
Bsb_log.warn "@{<info>Different compiler version@}: clean current repo@.";
14178+
Bsb_clean.clean_bs_deps per_proj_dir;
1417814179
Bsb_clean.clean_self per_proj_dir;
1417914180
end ;
1418014181

0 commit comments

Comments
 (0)