You may struggle running nRF connect and the relay at the same tine though.
After starting this, I switched to my mobile phone and started nRF connect, but puck was not found.
Puck appeared on my mobile only after disconnecting puck from WebIDE.
This is just the way it works. Devices can only have one connection at a time. They advertise when they are not connected to another device. When they are connected, advertising stops.
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.
Info on the relay here: http://forum.espruino.com/conversations/300770/
You may struggle running nRF connect and the relay at the same tine though.
This is just the way it works. Devices can only have one connection at a time. They advertise when they are not connected to another device. When they are connected, advertising stops.
However, you can still connect via serial: http://www.espruino.com/Puck.js#serial-console
If you do that you can use the standard IDE that you use for USB devices, and you have none of the messing around with connections.