Steps to reproduce
- Create a plugin with this code:
plugin.registerEvent(
plugin.app.metadataCache.on("changed", (path, data, cache) => {
console.log("changed");
}),
);
- Add
#test
to the body of a note. The metadata is updated. - Add
test
to the tags in the front matter. The metadata is not updated.
Expected result
The metadata cache is updated with the tags in the front matter.
Actual result
The metadata is not updated with the tags in the front matter.
Environment
SYSTEM INFO:
Obsidian version: v1.4.12
Installer version: v1.4.11
Operating system: #1-NixOS SMP PREEMPT_DYNAMIC Wed Sep 6 20:22:26 UTC 2023 6.5.2