STM32F103: ST-Link doesn't actually update the firmware upon reprogramming unless I relaunch ST-Link
You need to reopen the hex file after an external rebuild 'file' -> open. The hex file gets loaded in memore and won't be reopened if changed in memory.