cratedigger
Version:
3D vinyl records exploration & crate digging experience, using WebGL with Three.js
17 lines (13 loc) • 535 B
JavaScript
/* Notes:
- gulp/tasks/browserify.js handles js recompiling with watchify
- gulp/tasks/browserSync.js watches and reloads compiled files
*/
var gulp = require('gulp');
var config = require('../config');
gulp.task('watch', ['watchify', 'browserSync'], function() {
gulp.watch(config.lint.js.src, ['lint']);
gulp.watch(config.less.watch, ['less']);
gulp.watch(config.images.src, ['images']);
gulp.watch(config.markup.src, ['markup']);
// Watchify will watch and recompile our JS, so no need to gulp.watch it
});