Hi!
I used to open a Glyphs file in a text editor when I wanted to do a search and replace, for example to quickly change instances names, or basically anything that is longer to change with the UI.
I ended up writing a script that let me search and replace from Glyphs directly.
Because I want to easily access all data at the same time, I’m using open(), read(), write() etc so I effectively do the exact same thing as opening the file in a text editor.
The thing is that my opened Glyphs file doesn’t update with the new data written from the script. I have to manually close and open the file again to see the changes.
I guess I could add something to close and reopen automatically, but that doesn’t seem clean.
Is there a way to kind of refresh the view of the Glyphs file so that it shows the actual data that has just been written into it?