I have my plugin listen to the create
-event. I noticed, that the create
-event is fired on startup for the file, that Obsidian opens automatically, even if the note existed previously!
Steps to reproduce
- Create todays daily note
- Set Obsidian to open todays daily note on startup
- Add some event-listener to the
create
-event - Restart Obsidian
Expected result
No create
-event dispatched (because creation happened beforehand)
Actual result
create
-event dispatched
Environment
OS: Arch Linux
Obsidian Version: v1.0.3
Let me know if I can help in any way. If this won’t/ can’t be fixed: Why does this behaviour exist in the first place? I’d argue that dispatching the create
-event even if nothing is newly created is unintuitive.