Created
July 15, 2015 12:35
-
-
Save MarkArts/9b8b28c63cd82f74b8ce to your computer and use it in GitHub Desktop.
Kraftwagegulpfile
This file contains 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 browserSync = require('browser-sync'); | |
var shell = require('gulp-shell'); | |
gulp.task('serve', function(){ | |
browserSync({ | |
proxy: 'dev.rijndam.nl', | |
open: true, | |
notify: false | |
}); | |
gulp.watch("./build/profiles/**/*", ['cc', browserSync.reload]); | |
}); | |
gulp.task('cc', shell.task( | |
"drush cc all", | |
{ | |
cwd: './build' | |
} | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment