Skip to content

Commit 66ba224

Browse files
committed
add -ws docs
1 parent 4b2fe2f commit 66ba224

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jscomp/main/rescript_main.ml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ let force_regenerate = ref false
3434
type spec = Bsb_arg.spec
3535

3636
let call_spec f : spec = Unit (Unit_call f )
37-
let unit_set_spec b : spec = Unit (Unit_set b)
38-
37+
let unit_set_spec b : spec = Unit (Unit_set b)
38+
let string_set_spec s : spec = String (String_set s)
3939

4040

4141
let failed_annon = (fun ~rev_args ->
@@ -142,6 +142,8 @@ let build_subcommand ~start argv argv_len =
142142
"Build with deps";
143143
"-install", unit_set_spec do_install,
144144
"Install public interface files for dependencies ";
145+
"-ws", string_set_spec (ref ""),
146+
"[host]:port set the host, port for websocket build notifications";
145147
"-regen", unit_set_spec force_regenerate,
146148
"*internal* \n\
147149
Always regenerate build.ninja no matter bsconfig.json is changed or not";

0 commit comments

Comments
 (0)