I'm finding that this is a problem for me.
All of my papers have been solo efforts so, naturally, nobody else is really invested in them before I submit to journals. After I submit a paper, I either notice mistakes or cannot resist making significant stylistic changes. Then I send a revision to the editor to forward to the referee. This has happened multiple times, sometimes more than once for a particular paper.
I would like to hear from other researchers:
(a) Do you have similar tendencies? (b) As a referee, how frustrating is it to get these revisions? On one hand you're getting an improved version (in the eyes of the author), but on the other hand some of the referee's work may be wasted.