I just saw in your last post that you did tell her, but I'll post this anyway. Nice job!
I would tell her because, if she is knowingly flirting with you while she has a boyfriend, it appears to me as if she is waiting for you to make the first move. She may be comfortable to stay in that situation for a while, and that's not really what you want (it hurts, I know). If you tell her, at least you make your feelings known and she knows that, if something happens with her and her boyfriend, she won't be alone.