adds hot swap support for plugin's imports