From 700a868a3aa41f07f7c314310c177c9d8d2b9b5d Mon Sep 17 00:00:00 2001
From: Castor Regex <regex@wit.com>
Date: Mon, 25 Aug 2025 17:19:43 -0500
Subject: feat(logging): add newline to regex.ready and log output to
 /tmp/regex.log

---
 packages/cli/src/ui/App.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/cli/src/ui/App.tsx')

diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx
index 34edd2fd..ebd24e97 100644
--- a/packages/cli/src/ui/App.tsx
+++ b/packages/cli/src/ui/App.tsx
@@ -638,7 +638,7 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
       previousStreamingState.current !== StreamingState.Idle &&
       streamingState === StreamingState.Idle
     ) {
-      fs.writeFileSync('/tmp/regex.ready', sessionStats.sessionId);
+      fs.writeFileSync('/tmp/regex.ready', sessionStats.sessionId + '\n');
     }
     previousStreamingState.current = streamingState;
   }, [streamingState, sessionStats.sessionId]);
-- 
cgit v1.2.3

