Executes a command whenever the bundle is refreshed.