Gulp.js File for Drupal 8 Zurb Foundation and UI Patterns

Kaleem Clarkson
1 min readJan 22, 2019

--

Passing an array allows your gulp.js file to do multiple tasks. Here is how I updated my gulp.js file to watch multiple directories in different locations.

// Watch for changes for scss files and rebuild.
gulp.task(‘watch:css’, [‘sass’, ‘drush:cc’, ‘lint:sass’], function () {
return gulp.watch([options.theme.scss + ‘**/*.scss’, options.rootPath.theme + ‘templates/**/*.scss’], options.gulpWatchOptions, [‘sass’, ‘drush:cc’, ‘lint:sass’]);
});

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Kaleem Clarkson
Kaleem Clarkson

Written by Kaleem Clarkson

Co-Founder & COO of @BlendMeInc, Advocate for Location Independent Workplaces, Drupal Front-End Developer, Community Builder. http://blendmeinc.com

No responses yet

Write a response