Flush output from 'generate' task