AppView in a box as a Vite plugin thing hatk.dev
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: always run buildFtsIndex on startup (indexExists skips if already built)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+3 -8
+3 -8
packages/hatk/src/main.ts
··· 168 168 function runBackfillAndRestart() { 169 169 runBackfill(backfillOpts) 170 170 .then(async (recordCount) => { 171 - const port = getDatabasePort() 172 - if (port.dialect !== 'sqlite') { 173 - log('[main] Backfill complete, rebuilding FTS indexes...') 174 - await rebuildAllIndexes(collections) 175 - log('[main] FTS indexes ready') 176 - } else { 177 - log('[main] Backfill complete (FTS updated incrementally)') 178 - } 171 + log('[main] Backfill complete, building FTS indexes...') 172 + await rebuildAllIndexes(collections) 173 + log('[main] FTS indexes ready') 179 174 return recordCount 180 175 }) 181 176 .then((recordCount) => {