From 9ebc6171c6c59048e15f31ab26ff603355f9d8cd Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Wed, 16 Nov 2022 19:00:49 -0500 Subject: [PATCH] fix: allow dump-dot-merlin in watch mode previous, this command would wait for the lock Signed-off-by: Rudi Grinberg ps-id: 29d01307-9cff-4cf6-bc45-a6fe064e9f61 --- bin/ocaml_merlin.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/ocaml_merlin.ml b/bin/ocaml_merlin.ml index c1d0694bf5b..d592ecf77a2 100644 --- a/bin/ocaml_merlin.ml +++ b/bin/ocaml_merlin.ml @@ -245,6 +245,9 @@ module Dump_dot_merlin = struct "The path to the folder of which the configuration should be \ printed. Defaults to the current directory.") in + let common = + Common.set_print_directory common false |> Common.forbid_builds + in let config = Common.init common ~log_file:No_log_file in Scheduler.go ~common ~config (fun () -> match path with