refactor(gen): improve gulpfile