Skip to content

Commit 5dd2eef

Browse files
committed
run npm link to avoid sync .bin file issues
1 parent 439949b commit 5dd2eef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jscomp/bsb/bsb_theme_init.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ let run_npm_link cwd dirname =
7676
exit 2
7777
end
7878
else
79-
if Ext_sys.is_windows_or_cygwin then
79+
(* if Ext_sys.is_windows_or_cygwin then *)
8080
begin
8181
let npm_link = "npm link bs-platform" in
8282
let exit_code = Sys.command npm_link in
@@ -86,7 +86,7 @@ let run_npm_link cwd dirname =
8686
exit exit_code
8787
end
8888
end
89-
else
89+
(* else
9090
begin
9191
(* symlink bs-platform and bsb,bsc,bsrefmt to .bin directory
9292
we did not run npm link bs-platform for efficiency reasons
@@ -104,7 +104,7 @@ let run_npm_link cwd dirname =
104104
Unix.symlink
105105
(Filename.dirname (Filename.dirname Sys.executable_name))
106106
(Filename.concat "node_modules" Bs_version.package_name)
107-
end
107+
end *)
108108

109109
let enter_dir cwd x action =
110110
Unix.chdir x ;

0 commit comments

Comments
 (0)