Skip to content

Commit f46deff

Browse files
author
Andy Ray
committed
add toplevel path to -serve-jslibs
1 parent fe6f295 commit f46deff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iocamlserver.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ let configure_js_serve () =
7070
* to the users compiler/findlib path, and *also* for the users findlib
7171
* paths *)
7272
serve_uri_path :=
73-
(Filename.concat jsbase "ocaml") :: jsbase ::
73+
(Filename.concat jsbase "ocaml") :: (Filename.concat jsbase "ocaml") :: jsbase ::
7474
stdlib :: findlib ::
7575
!serve_uri_path;
7676
serve_file_path :=
77-
stdlib :: findlib ::
77+
(Filename.concat findlib "toplevel") :: stdlib :: findlib ::
7878
stdlib :: findlib ::
7979
!serve_file_path
8080
end else begin

0 commit comments

Comments
 (0)