From 45ff398815f0bb02b4f11b2bf7199a911fb4fac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20M=C3=BCller?= Date: Sat, 6 Dec 2014 09:14:03 +0100 Subject: [PATCH] gulp: use subfolders --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index a9e81ed..879479a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -21,7 +21,7 @@ gulp.task('server', function() { }); gulp.task('compile', function() { - return gulp.src(['src/*.coffee']) + return gulp.src(['src/**/*.coffee']) .pipe(sourcemaps.init()) .pipe(coffee({bare: true})) .pipe(uglify()) @@ -31,6 +31,6 @@ gulp.task('compile', function() { }); gulp.task('default', ['server'], function() { - gulp.watch(['src/*.coffee'], ['compile']); + gulp.watch(['src/**/*.coffee'], ['compile']); gulp.watch(['*.html', 'styles.css', 'app.js', 'images/*'], {cwd: 'public'}, reload); });