openscd / open-scd-core

Apache License 2.0
5 stars 8 forks source link

Identify a document open (even if it is the same name) #92

Open danyill opened 1 year ago

danyill commented 1 year ago

Currently, I think in plugins we can't identify a new document has been opened even if is the same document (and especially if there have been no edits made).

My testing of a plugin so far suggests that even if edits have been made and I am using editCount with a @state decorator I don't get a re-render (although I may be erring in some fashion).

Filing this issue as requested by Christian.

Sander3003 commented 1 year ago

The result is that it does not refresh the applicaiton.