I would thus guess that then maybe because you have error in your init.lua which runs on boot it re boots.
I am in same position, continuous boot loop, bricked I guess, but for different reason
I was trying to use the GPIO's and wrote test script thus
file.remove("init.lua")
file.open("init.lua","w")
file.writeline([[pin = 12]])
file.writeline([[gpio.mode(pin,gpio.OUTPUT)]])
file.writeline([[gpio.write(pin,gpio.LOW)]])
file.close()
It tuns out that causes a reset.
There is no break or time between boots to send command to remove the init file using ESPLorer.
Best order a few ......
I must say this is still a fantastic bit of kit.
From boot takes about 3 seconds to retrieve a web page, that is including time to connect to wi-fi
No computer or mobile phone I know can do that, that fast!