Every time I disconnect a USB device from my PC, VST Live doesn't detect it automatically

Every time I disconnect a USB device from my PC, whether it's a MIDI keyboard or something else, VST Live doesn't automatically detect it.

And for it to detect it, I have to close and reopen the program, which wastes a lot of time.

Even when there's already a set of songs pre-loaded, having to exit and reopen is an unnecessary waste of time.

Furthermore, if a cable is accidentally moved and disconnected, the program should be able to recognize it within seconds of reconnecting the USB. This happened to me at a live concert when my MIDI keyboard was disconnected, and I had to restart the entire program for VST Live to recognize the USB again.

Have you tried the reset options in the Devices menu?

Not meaning to be harsh but why have you left critical cables in a state where they can be pulled out? If you’re falling over leads that’s a health and safety issue and might invalidate your PLI. Gaffa tape is your friend.

Possibly also explore wireless midi and cut the leads out of the equation.

The cables were never exposed to the public. 
They're only within my workspace; I have short cables, and because they're short, they can disconnect if I move my laptop. But that's not the point. 
The point is that VST Live should be able to instantly recognize a USB connection again and not waste time closing and reopening the program. Does that make sense? 
Gig Performer 5.3.3 has far surpassed VST Live in these details (if a disconnection occurs due to an error or anything else, the program recognizes it within seconds of connecting the cable), and I believe that, being its competitor, VST Live should offer and improve more in this area.

I wasn’t thinking about the audience falling over them. :grinning_face:
Did you try the reset options? If that works then you won’t have to restart VSTL. Granted not automatic but better than nothing.

No automatic detection is by design to avoid undesirable side-effects during live performance. You can manually force the detection with “Reset Audio device” or “Reset Midi” depending on the kind of device.