Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Visualizar cambios
// watch for file changes
gulp.task('watch', ['browsersync'], () => {
// page changes
gulp.watch(php.src, ['php'], browsersync ? browsersync.reload : {});
// image changes
gulp.watch(images.src, ['images']);
// CSS changes
gulp.watch(css.watch, ['css']);
// JavaScript main changes
gulp.watch(js.src, ['js']);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment