Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: gulpfile.js

Issue 29442559: [Demo] Issue 4961 - Fix card group field alignment on acceptableads.com (Closed)
Patch Set: Created May 19, 2017, 5:30 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « css/main.css ('k') | index.html » ('j') | scss/main.scss » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gulpfile.js
===================================================================
new file mode 100644
--- /dev/null
+++ b/gulpfile.js
@@ -0,0 +1,14 @@
+var gulp = require('gulp');
+var sass = require('gulp-sass');
+
+gulp.task('sass', function () {
+ gulp.src('./scss/main.scss')
+ .pipe(sass().on('error', sass.logError))
+ .pipe(gulp.dest('./css'));
+});
+
+gulp.task('watch', function () {
+ gulp.watch('./scss/*.scss', ['sass']);
+});
+
+gulp.task('default', ['sass', 'watch']);
« no previous file with comments | « css/main.css ('k') | index.html » ('j') | scss/main.scss » ('J')

Powered by Google App Engine
This is Rietveld