var gulp = require('gulp'),
path = require('path'),
gutil = require('gulp-util');
gulp.task('watch', function () {
gulp.watch(paths.scripts, ['jshint'])
.on('change', logChanges);
return bundle.watch(connect.reload, isDev);
});
function logChanges(event) {
gutil.log(
gutil.colors.green('File ' + event.type + ': ') +
gutil.colors.magenta(path.basename(event.path))
);
}