Sentence:  ... the light now on, now off, now on too <WSD>glaringly</WSD>, now too dimly, with the glow of a fitful dying battery—then at last to know the whole town plunged into darkness ... 
Meaning of the word marked with <WSD> tags:  With intense light.