diff --git a/libsearch/index/index-scheduler.cpp b/libsearch/index/index-scheduler.cpp index 273e4ef..accfb8f 100644 --- a/libsearch/index/index-scheduler.cpp +++ b/libsearch/index/index-scheduler.cpp @@ -474,7 +474,7 @@ void IndexScheduler::checkIfStartsWaiting() void IndexScheduler::installWatches() { - if(m_config->isFileIndexEnable() || m_config->isContentIndexEnable() || m_config->isOCREnable()) { + if(m_config->isFileIndexEnable() || m_config->isContentIndexEnable() || m_config->isOCREnable() || m_config->isAiIndexEnable()) { if(!m_watchInstalled) { m_fileWatcher.installWatches(); m_watchInstalled = true;