Pug code - mixins are not saved

I was interested in using Pug in the EDIT CODE panel. I made a simple mixin that worked fine, but when I went back to the code, the mixin was not there. Is this a bug or a feature?

–thanks