Mine did the same thing. Replaced voltage regulator and it lasted a few minutes. Once the bike was warmed up and reved out, the bulb went again. I replaced it with a used voltage regulator though, so that could be the problem......
I haven't gotten another one yet. I just don't ride at night, which is easier now that it's summer time!!