We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55dd8ed commit c1ab125Copy full SHA for c1ab125
bin/sgen.ml
@@ -87,7 +87,8 @@ let watch input_file timeout =
87
let stat = Unix.stat abs_path in
88
let current_mtime = stat.Unix.st_mtime in
89
if Float.(current_mtime > last_mtime) then (
90
- Stdlib.Printf.printf "\n\n--- File changed, re-running (attempt #%d) ---\n%!" attempt;
+ Stdlib.Printf.printf
91
+ "\n\n--- File changed, re-running (attempt #%d) ---\n%!" attempt;
92
let _ = run_with_timeout input_file timeout in
93
poll_loop current_mtime (attempt + 1) )
94
else poll_loop last_mtime attempt
0 commit comments