Skip to content

Instantly share code, notes, and snippets.

@fernandiez
Created September 20, 2018 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fernandiez/15336964a9e2f5fd485ac4b88a7d9f0b to your computer and use it in GitHub Desktop.
Save fernandiez/15336964a9e2f5fd485ac4b88a7d9f0b to your computer and use it in GitHub Desktop.
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