Skip to content

Commit

Permalink
Change glob of Sass files so that imports in styles.scss can compile …
Browse files Browse the repository at this point in the history
  • Loading branch information
bgturner committed Jul 17, 2014
1 parent 700a608 commit ad266b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gulp.task('browser-sync', function () {

// Setup Sass to run when any Scss file changes, updating browsers after completion
gulp.task('sass', function () {
gulp.src('site/scss/styles.scss')
gulp.src('site/scss/**/*.scss')
.pipe(sass({
noCache: true,
style: "expanded",
Expand All @@ -26,6 +26,6 @@ gulp.task('sass', function () {
});

gulp.task('default', ['sass', 'browser-sync'], function () {
gulp.watch("site/scss/*.scss", ['sass']);
gulp.watch("site/scss/**/*.scss", ['sass']);
gulp.watch(['site/**/*.html'], reload);
});

0 comments on commit ad266b0

Please sign in to comment.