I don't know what's changed but my connection between Gadgetbridge on the phone and the watch has now been up solidly for three days (at least it's up each time I look at it). I think I restarted my phone sometime in the last few days so maybe that did it as suggested by @user71255.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I don't know what's changed but my connection between Gadgetbridge on the phone and the watch has now been up solidly for three days (at least it's up each time I look at it). I think I restarted my phone sometime in the last few days so maybe that did it as suggested by @user71255.