Skip to content

Commit

Permalink
file watcher now only watches markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
samlhuillier committed Dec 11, 2023
1 parent ff4866f commit 13c0001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 13c0001

Please sign in to comment.