Created
April 20, 2015 01:13
-
-
Save delebash/e157fcf0a2659ae08775 to your computer and use it in GitHub Desktop.
sass-ruby example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('sass', function () { | |
return sass(config.sassPath + '/style.scss', | |
{ | |
style: 'expanded', | |
loadPath:[ | |
'./src/sass', | |
config.bowerDir + '/bootstrap-sass-official/assets/stylesheets' | |
]}) | |
.on('error', notify.onError(function (error){ | |
return "Error: " + error.message; | |
})) | |
.pipe(gulp.dest('./public/css')); | |
}); | |
// Rerun the task when a file changes | |
gulp.task('watch', function() { | |
gulp.watch(config.sassPath + '/**/*.scss', ['sass']); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment