updated gulpfile to handle compile errors