Created
September 21, 2017 18:39
-
-
Save wellingtonpgp/4c9283ffad8478a3e4c5db4b1696b3ab to your computer and use it in GitHub Desktop.
Exemplo1
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
| var gulp = require("gulp"); | |
| var sass = require("gulp-sass"); | |
| gulp.task("compilar-css", function(){ | |
| return gulp.src("./source/sass/*.scss") | |
| .pipe(sass()) | |
| .pipe(gulp.dest("./dist/css")); | |
| }); | |
| gulp.task('mova', function(){ | |
| return gulp.src("./dist/css/style.css") | |
| .pipe(gulp.dest("./outro/css")) | |
| }); | |
| gulp.task("escuta-me", function(){ | |
| gulp.watch('./source/sass/*.scss',['compilar-css']); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment