Search-Index integration + cache flush on start
This commit is contained in:
8
agent.js
8
agent.js
@@ -113,7 +113,13 @@ var job = new Cron({
|
||||
// -> Update cache and search index
|
||||
|
||||
if (fileStatus !== 'active') {
|
||||
return entries.updateCache(entryPath)
|
||||
return entries.updateCache(entryPath).then(entry => {
|
||||
process.send({
|
||||
action: 'searchAdd',
|
||||
content: entry
|
||||
})
|
||||
return true
|
||||
})
|
||||
}
|
||||
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user