Skip to content

Commit 976eec7

Browse files
committed
feat: adding watch & reload on changes to configuration.yml file.
1 parent 8e5b66a commit 976eec7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

gulp/dev.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,13 @@ module.exports = function(gulp, options) {
8383
});
8484

8585

86+
8687
gulp.watch(path.join(options.module.paths.src, options.module.paths.js.scripts, '**', '*.js'), ['veeva-module:js-dev']);
8788

8889
gulp.watch(path.join(options.paths.src, 'assets', 'js', '**', '*.js'), ['scripts:dev']);
8990
gulp.watch(path.join(options.paths.src, 'assets', 'scss', '**', '*.scss'), ['sass:dev']);
9091

92+
gulp.watch(path.resolve(process.cwd(), 'configuration.yml'), ['assemble']);
9193
gulp.watch(path.join(options.paths.src, 'templates', '**', '*.hbs'), ['assemble']);
9294
gulp.watch(path.join(options.paths.src, 'templates', '**', '*.{png,jpg}'), ['images:dev', 'bs-reload']);
9395

0 commit comments

Comments
 (0)