a tool for shared writing and social publishing

flush cursor to fs when writing

+1 -1
+1 -1
appview/index.ts
··· 226 226 startCursor, 227 227 setCursor: async (cursor) => { 228 228 // persist cursor 229 - await writeFile(cursorFile, cursor.toString()); 229 + await writeFile(cursorFile, cursor.toString(), { flush: true }); 230 230 }, 231 231 }); 232 232 let firehose = new Firehose({