How do I quick-reload changes to inline macros in velocity templates during development?

I have a velocity macro:

#macro (foo)
Hello #foo()

If I change the macro from bar to baz, the changes are not reflected until I re-pacakge my plugin (or restart JIRA). If I change the outer part from Hello to hi, those changes are reflected just fine. Why aren’t the macro changes picked up, and how can I fix this?

For some reason this works when the template is rendered by a web action, but fails for a web panel.

I’ve tried overriding the various Velocity properties to no avail:

plugin.resource.loader.cache = false

Any ideas?