mathieubonvaletpro-commits62 downloadsAutomatically refreshes the file explorer when external sync tools create new files in the vault.
An Obsidian plugin that automatically refreshes the file explorer when new files arrive from external sync tools (Syncthing, Dropbox, rsync, etc.).
Obsidian's built-in file watcher sometimes fails to detect files created by external sync tools, especially on Windows. You close a note on your phone, it syncs via Syncthing, but the file doesn't appear in Obsidian's sidebar until you manually reload the vault.
This plugin detects those changes in ~3 seconds and injects the new files directly into Obsidian's index — no reload needed.
00 INBOX, 01 PROJET, 02 CAPS by default) every 3 seconds using low-cost adapter.stat() callsTFile instances with correct parent folders and fires vault.trigger('create') so the file explorer and metadata cache pick them up instantlymain.js and manifest.json.obsidian/plugins/auto-refresh-explorer/ inside your vaultOnce approved, search "Auto Refresh Explorer" in Settings → Community Plugins → Browse.
No settings UI yet. To change watched folders or interval, edit the constants at the top of main.js:
const DEFAULT_WATCHED_FOLDERS = ['00 INBOX', '01 PROJET', '02 CAPS'];
const DEFAULT_INTERVAL_MS = 3000;
Works with any sync tool that writes files directly to the filesystem: Syncthing, Dropbox, Google Drive, OneDrive, rsync, etc.
Made with ❤️ by Mathieu BONVALET.
If this plugin saves you time:
Or just star the repo and tell your friends.
MIT