First talk to your friend, explain the situation. Do the reverse psych. cliché line "look if you don't want to, i won't see her..." , only if your feelings are strong.
If you go behind his back without talking, and it does get serious between you two, you will not be able to hide it anymore. Plus, such betrayals affect people the most.