const gulp = require('gulp');


gulp.task('watch', ['watch:sass', 'watch:scripts', 'watch:app', 'watch:components', 'watch:plugins']);


gulp.task('watch:sass', function() {
    return gulp.watch('timestrap/static_src/sass/**/*.scss', ['styles:sass']);
});


gulp.task('watch:scripts', function() {
    return gulp.watch('timestrap/static_src/scripts/**/*.js', ['scripts:vendor']);
});


gulp.task('watch:app', function() {
    return gulp.watch('timestrap/static_src/app.js', ['scripts:app']);
});


gulp.task('watch:components', function() {
    return gulp.watch('timestrap/static_src/components/**/*.vue', ['scripts:app']);
});

gulp.task('watch:plugins', function() {
    return gulp.watch('timestrap/static_src/plugins/**/*.js', ['scripts:app']);
});

const gulp = require('gulp');


gulp.task('watch', ['watch:sass', 'watch:scripts', 'watch:app', 'watch:components']);


gulp.task('watch:sass', function() {
    return gulp.watch('timestrap/static_src/sass/**/*.scss', ['styles:sass']);
});


gulp.task('watch:scripts', function() {
    return gulp.watch('timestrap/static_src/scripts/**/*.js', ['scripts:vendor']);
});


gulp.task('watch:app', function() {
    return gulp.watch('timestrap/static_src/app.js', ['scripts:app']);
});


gulp.task('watch:components', function() {
    return gulp.watch('timestrap/static_src/components/**/*.vue', ['scripts:app']);
});

--- 
+++ 
@@ -1,7 +1,7 @@
 const gulp = require('gulp');
 
 
-gulp.task('watch', ['watch:sass', 'watch:scripts', 'watch:app', 'watch:components']);
+gulp.task('watch', ['watch:sass', 'watch:scripts', 'watch:app', 'watch:components', 'watch:plugins']);
 
 
 gulp.task('watch:sass', function() {
@@ -22,3 +22,7 @@
 gulp.task('watch:components', function() {
     return gulp.watch('timestrap/static_src/components/**/*.vue', ['scripts:app']);
 });
+
+gulp.task('watch:plugins', function() {
+    return gulp.watch('timestrap/static_src/plugins/**/*.js', ['scripts:app']);
+});
Watch for changes to plugin files.
