May not be ideal in all cases, but it would save a few steps to have a "generate and compile" action in addition to only generate.