She was watching you cook. *(This is Indonesian, not Spanish. I've preserved this initial as a direct translation to English.)* If you meant this to be translated into Spanish, here is the translation in conversational register: Te estaba viendo cocinar.