From 13c0001106a65163d653add77a787c3a57323c3c Mon Sep 17 00:00:00 2001 From: samlhuillier Date: Fri, 8 Dec 2023 11:00:11 -0600 Subject: [PATCH] file watcher now only watches markdown files --- electron/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/main/index.ts b/electron/main/index.ts index f9e5164c..af525edb 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -208,7 +208,7 @@ ipcMain.on("index-files-in-directory", async (event, userDirectory: string) => { } ); if (win) { - startWatchingDirectory(win, userDirectory); + startWatchingDirectory(win, userDirectory, markdownExtensions); updateFileListForRenderer(win, userDirectory, markdownExtensions); } event.sender.send("indexing-complete", "success");