We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31e4b6f commit e96c3abCopy full SHA for e96c3ab
jscomp/main/rescript_main.ml
@@ -53,8 +53,13 @@ let failed_annon ~rev_args =
53
54
(** Invariant: it has to be the last command of [bsb] *)
55
let exec_command_then_exit (type t) (command : string) : t =
56
+ print_endline "exec_command_then_exit";
57
+ print_endline command;
58
Bsb_log.info "@{<info>CMD:@} %s@." command;
- exit (Sys.command command)
59
+ print_endline "exec_command_then_exit 2";
60
+ let ret = Sys.command command in
61
+ print_endline "exec_command_then_exit 3";
62
+ exit ret
63
64
(* Execute the underlying ninja build call, then exit (as opposed to keep watching) *)
65
let ninja_command_exit (type t) (ninja_args : string array) : t =
0 commit comments