Add a command to manually refresh the file index

Use case or problem

Sometimes I create files in my vault outside of the app, like JS snippets for the CustomJS plugin, and Obsdian doesn’t register them into the vault automatically sometimes.

Proposed solution

Add a command “refresh file index” to refresh the index without reloading the entire app.

Current workaround (optional)

I can run the “reload app without saving” command but that takes much longer on vaults with lots of plugins and lines of CSS.

1 Like