gulp.task('watch', function() {
gulp.watch('catalog/view/theme/apple/stylesheet/**/*.sass', gulp.series('sass'));
gulp.watch('catalog/view/theme/apple/template/**/*.twig', gulp.series('code'));
gulp.watch('catalog/view/theme/apple/js/**/*.js', browserSync.reload);
gulp.watch('catalog/view/theme/apple/libs/**/*', browserSync.reload);
});
gulp.task('default', gulp.parallel('sass', 'browser-sync', 'watch'));
gulp.task('sass:watch', function () {
gulp.watch('./sass/**/*.scss', ['sass']);
});