Ah, that would be because statics aren’t quite in the script and some of the expression transformation logic (including the bit that figures out what func() should refer to) doesn’t run on them. I’ll look into this for the next update.
You can get around it by calling a live-reloaded script in your constructor and have that in a separate file.