As I went over in an earlier post, if you have a sentence with but, and then an action or feeling or some kind of response or insight, always put a but, comma.
Times you should not do this are in these examples:
It was but noon when the people gave the heard of cats treats.