You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code is executed repeatedly, and the example below clearly demonstrates that the code is executed twice.
DQL
No response
JS
// fetchconstres=awaitfetch("http://localhost:8080/api/hello").then(res=>res.text());dv.span(res);// or create noteawaitapp.vault.create(`/${Date.now()+Math.random()*100}.md`,"");
Dataview Version
0.5.67
Obsidian Version
1.8.4
OS
MacOS
The text was updated successfully, but these errors were encountered:
Whenever a query is changed, the cache somehow is triggered, you reopen the file, or do a rebuild of the current view the query is executed again. This is not a bug, but the expected behaviour of a dynamic query.
What could be considered a bug would be that it sometimes do a double refresh/re-execution after a single change. This can to some extent be mitigated through changing the refresh interval, or turning off automatic refreshes. It'll still run the query after some of the instances like reopening or causing a full rebuild of the view.
What happened?
The code is executed repeatedly, and the example below clearly demonstrates that the code is executed twice.
DQL
No response
JS
Dataview Version
0.5.67
Obsidian Version
1.8.4
OS
MacOS
The text was updated successfully, but these errors were encountered: