When I make changes to a Perspective icon library svg, what triggers these changes to reflect in the Designer (e.g. the icon icon picker list to update, as well as the display of the icon in the path) and the Perspective sessions? I've tried system.project.requestScan()
and this doesn't seem to have any effect. I've tried saving the project, updating it, no luck.
And related, I've noticed that sometimes I can get the icon to display in the designer by manually typing the path when it doesn't appear in the icon library picker. What triggers the picker to update its icons?
Edit:
I was mistaken. system.project.requestScan()
followed by an Update Project, close View, re-open View in the Designer worked to display the new icons, I just had an error in my SVG. However, the icon library picker still doesn't show the new icons or new icon libraries using this method.
Re-opening the project with File -> Open doesn't work either.
Re-opening the project by launching it again from the Designer Launcher however does work and reflects changes in the icon library picker.
So in summary, to get changes to svg libraries into the designer:
- run
system.project.requestScan()
- close designer
- re-launch designernfrom the designer launcher (not simply from File -> Open)
A bit of an annoying process...