Skip to content

Instantly share code, notes, and snippets.

Created Dec 1, 2017
What would you like to do?
[WordPress] Getting Started with Gulp Starter Packages
$ touch gulpfile.js
gulp.task('sass', function(){
return gulp.src('assets/styles/scss/*.scss')
gulp.task('js', function () {
return gulp.src('assets/scripts/dev/*.js')
gulp.task('images', function () {
return gulp.src('assets/images/*')
$ gulp sass && gulp js
gulp.task('watch', function() {'assets/styles/scss/*.scss', gulp.series('sass'));'assets/scripts/dev/*.js', gulp.series('js'));'assets/images/*', gulp.series('images'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment