Application Mappings in Gateways

Because of this issue (Lucee Development - Issues - Lucee), I need some alternative way to add a mapping.

I’d like to use application (versus admin) configured mappings, but my application uses a Directory Watcher Gateway.

Those gateways run in a weird context and I don’t know how/if to set application mappings in that context. (I’m not sure if it is or can be under the influence of any Application.cfc.)

Is it possible? If so, how?