gulpfile.babel.js
function watch() {
  gulp.watch(['src/**/*.js', '!src/**/README.md'],
    ['scripts', 'demos', 'components', reload]);
  gulp.watch(['src/**/*.{scss,css}'],
    ['styles', 'styles-grid', 'styletemplates', reload]);
  gulp.watch(['src/**/*.html'], ['pages', reload]);
  gulp.watch(['src/**/*.{svg,png,jpg}'], ['images', reload]);
  gulp.watch(['src/**/README.md'], ['pages', reload]);
  gulp.watch(['templates/**/*'], ['templates', reload]);
  gulp.watch(['docs/**/*'], ['pages', 'assets', reload]);
  gulp.watch(['package.json', 'bower.json', 'LICENSE'], ['metadata']);
}
function watch() {
  gulp.watch(['src/**/*.js', '!src/**/README.md'],
    ['scripts', 'demos', 'components', reload]);
  gulp.watch(['src/**/*.{scss,css}'],
    ['styles', 'styles-grid', 'styletemplates', reload]);
  gulp.watch(['src/**/*.html'], ['pages', reload]);
  gulp.watch(['src/**/*.{svg,png,jpg}'], ['images', reload]);
  gulp.watch(['src/**/README.md'], ['pages', reload]);
  gulp.watch(['templates/**/*'], ['templates', reload]);
  gulp.watch(['docs/**/*'], ['pages', 'assets', reload]);
  gulp.watch(['package.json', 'bower.json', 'LICENSE'], ['metadata']);
}
function watch ( ) { gulp . watch ( [ 'src/**/*.js' , '!src/**/README.md' ] , [ 'scripts' , 'demos' , 'components' , reload ] ) ; gulp . watch ( [ 'src/**/*.{scss,css}' ] , [ 'styles' , 'styles-grid' , 'styletemplates' , reload ] ) ; gulp . watch ( [ 'src/**/*.html' ] , [ 'pages' , reload ] ) ; gulp . watch ( [ 'src/**/*.{svg,png,jpg}' ] , [ 'images' , reload ] ) ; gulp . watch ( [ 'src/**/README.md' ] , [ 'pages' , reload ] ) ; gulp . watch ( [ 'templates/**/*' ] , [ 'templates' , reload ] ) ; gulp . watch ( [ 'docs/**/*' ] , [ 'pages' , 'assets' , reload ] ) ; gulp . watch ( [ 'package.json' , 'bower.json' , 'LICENSE' ] , [ 'metadata' ] ) ; }
Defines the list of resources to watch for changes.
Defines the list of resources to watch for changes .