From 7b42601ab8f0ee3d464b47fa68df231f53ddd1e3 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 24 Jan 2025 17:14:15 +0100 Subject: [PATCH] Update lightrag_server.py --- lightrag/api/lightrag_server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lightrag/api/lightrag_server.py b/lightrag/api/lightrag_server.py index 409339d2..db4d0d04 100644 --- a/lightrag/api/lightrag_server.py +++ b/lightrag/api/lightrag_server.py @@ -809,7 +809,8 @@ def create_app(args): # Startup logic # Now only if this option is active, we can scan. This is better for big databases where there are hundreds of # files. Makes the startup faster - if args.auto_scan_at_startup: + if args.auto_scan_at_startup: + ASCIIColors.info("Auto scan is active, rescanning the input directory.") try: new_files = doc_manager.scan_directory() for file_path in new_files: