query_devices() doesn't update with changes in hardware

Hi,

I am writing an application that requires plugging and unplugging audio devices multiple times. Unfortunately, the query_devices() only displays the devices available at when the import sounddevice is performed.

Is there a way of updating the list without having to reload the module? I am using python 2.7 and I can see the behaviour is the same on OSX, Windows and Raspbian.

Thanks for your help
Adrien