File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ let force_regenerate = ref false
3434type spec = Bsb_arg .spec
3535
3636let 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
4141let 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" ;
You can’t perform that action at this time.
0 commit comments