Skip to content

Instantly share code, notes, and snippets.

@MarkArts
Created July 15, 2015 12:35
Show Gist options
  • Save MarkArts/9b8b28c63cd82f74b8ce to your computer and use it in GitHub Desktop.
Save MarkArts/9b8b28c63cd82f74b8ce to your computer and use it in GitHub Desktop.
Kraftwagegulpfile
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