Skip to content

Instantly share code, notes, and snippets.

@dmackerman
Created February 7, 2014 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmackerman/8869608 to your computer and use it in GitHub Desktop.
Save dmackerman/8869608 to your computer and use it in GitHub Desktop.
// Compile Our Sass
gulp.task('sass', function() {
gulp.src(paths.scss)
.pipe(sass())
.pipe(rename('xxx.css'))
.pipe(gulp.dest(paths.css))
.pipe(livereload(server));
});
// Watch Files For Changes
gulp.task('watch', function() {
server.listen(35729, function(err) {
if (err) return console.log(err);
gulp.watch(paths.scss, ['sass']);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment