I think you should know who you are writing for.
I write for me, with me in mind as an audience, because I know what I like and I don’t know what other people like because I am not them. That way, if I make something I like and nobody else likes it I don’t mind, because I liked it. Whereas if I made something I didn’t like and nobody else liked it, then I’ve made something that nobody at all liked.