hi!
im working on a little script, and i need the script to know when an external file(that blender has opened)was changed.
is there a listener for this.
hi!
im working on a little script, and i need the script to know when an external file(that blender has opened)was changed.
is there a listener for this.
As far as I know there isn’t any easy “asynchronous” way to do this if you will. You’d probably either need to poll for the timestamp or do some sort of hash of the file to detect that its changed at a certain point in your program.