diff --git a/src/rhubarb/sinks.cpp b/src/rhubarb/sinks.cpp index 5045499..07dadbe 100644 --- a/src/rhubarb/sinks.cpp +++ b/src/rhubarb/sinks.cpp @@ -118,5 +118,7 @@ void MachineReadableStderrSink::receive(const logging::Entry& entry) { if (line) { std::cerr << *line << std::endl; + // Make sure the stream is flushed so that applications listening to it get the line immediately + fflush(stderr); } }