Created
September 20, 2018 16:26
-
-
Save fernandiez/15336964a9e2f5fd485ac4b88a7d9f0b to your computer and use it in GitHub Desktop.
Visualizar cambios
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
// 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