How to make web panel rerun on add/remove attachments?

My Web panel is making use of attachments.
How can I rerun my web-panel in the issue when an attachment is added or removed?