From b5915db60534ac90dc7045146c69af1de4416238 Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Thu, 28 Nov 2019 12:41:14 -0800 Subject: [PATCH] [sledge] Clear terminal between builds in watch mode Summary: Otherwise it is difficult to tell the difference between compilation errors from previous versus current builds. Reviewed By: ngorogiannis Differential Revision: D18736376 fbshipit-source-id: 2e583f4ba --- sledge/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sledge/Makefile b/sledge/Makefile index 3fa2ab8ec..220a1faf9 100644 --- a/sledge/Makefile +++ b/sledge/Makefile @@ -63,7 +63,7 @@ opt: setup .PHONY: watch watch: setup - dune build --watch $(TARGETS) + dune build --watch --terminal-persistence=clear-on-rebuild $(TARGETS) .PHONY: test test: setup