Skip to content

William Turrell

Freelance web developer. Drupal 8 Certified Site Builder.

How to use Gulp 4 with SASS, PHP and BrowserSync

Here’s a gulpfile.js, tested with gulp.js 4.0.0 and BrowserSync 2.26.3
It also uses the Tailwind CSS framework.

View example gulpfile.js on GitHub 

Here’s a good beginner’s guide to Gulp (although the syntax for task execution has changed in 4.0.0, you need to use gulp.series or gulp.parallel)

 

Author William TurrellPosted on February 2, 2019February 2, 2019Categories BlogTags browsers, css, gulp, javascript, php, sass

Post navigation

Previous Previous post: Memcached and PHP 7.3
Next Next post: Utility first CSS – observations / lessons learnt

Contact

william [at] wturrell . co . uk

Things not part of the blog

  • My main website
    What I do and how to hire me.
  • StackOverflow Careers
    CV/Resume
  • Drupal profile
  • Useful Drupal module database
  • Recommended books
  • Environment
    How I'm trying to measure and reduce my business carbon footprint
  • How we built "Ampp3d"
    Long write-up first WordPress project.
  • How an IDE can help you
    Never tried an IDE? I've outlined some of the benefits over a standard text editor.
  • Twitter (I never use it)

Recent Posts

  • My UK iPhone mail-in battery replacement experience
  • Switch to Gmail basic HTML with a simple URL change
  • Troubleshooting custom WordPress WP-CLI commands running on WP Engine’s SSH Gateway
  • WordPress PSA: disable “Glue for Yoast SEO & AMP” plugin
  • Things I didn’t know: Excel can read HTML files
  • How to completely remove Zoom from a Mac
  • Ideas for supermarkets
  • Text only news websites
  • Tip for debugging complex MySQL queries if you have PhpStorm
  • Troubleshooting ‘The provided URL does not represent a valid oEmbed resource.’ with YouTube videos

Archives

  • November 2020
  • July 2020
  • April 2020
  • March 2020
  • February 2020
  • November 2019
  • October 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • September 2018
  • August 2018
  • March 2018
  • December 2017
  • November 2017
  • August 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016

Tags

  • api
  • apple
  • browsers
  • composer
  • css
  • debian
  • devdesktop
  • dkim
  • drupal
  • email
  • firefox
  • git
  • gmail
  • html
  • http/2
  • ios
  • iphone
  • javascript
  • laravel
  • letsencrypt
  • macOS
  • mailchimp
  • mysql
  • nginx
  • openssl
  • os x
  • php
  • php7
  • phpstorm
  • postmarkapp
  • productivity
  • programming
  • recommendations
  • security
  • software
  • spam
  • spdy
  • ssl
  • sysadmin
  • TLS
  • transactional email
  • ubuntu
  • weather
  • wordpress
  • xdebug