Configuring Gulpfile.js
Gulp has been set up in a way that it is easy to finetune. This fine tuning can happen on 2 levels: project-specific and environment-specific. This separation makes it possible to work independent of how other team members, while working with the same Gulp-setup.
Some examples
- Environment-specific: While theming, you might not want Browsersync, while your colleague doesn’t want to work without it.
- Project-specific: As a team you decide to use autoprefixing of the CSS in the project. Independent of environment autoprefixing will be turned on with the same settings.
- Environment-specific: You prefer to work in Vagrant, while your colleague prefers a Lando environment. The Gulp should be able to rebuild Drupal's cache for both of you on both of your own local install respectively.