summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'build.c')
-rw-r--r--build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.c b/build.c
index 4a65857..72cc59c 100644
--- a/build.c
+++ b/build.c
@@ -22,6 +22,7 @@ static void build_start_with_command(Ted *ted, char const *command) {
if (ted->building) {
build_stop(ted);
}
+ build_clear(ted); // clear errors from previous build
ted_save_all(ted);
if (process_run(&ted->build_process, command)) {