Categories
Technology

Gulp Workflow: Looking at Gulp 4

Gulp 4.0, the next version of Gulp, should be released any day now and it will make some parts of the workflow easier to manage. This section is not a comprehensive guide to Gulp 4 and the changes it brings in. It’s meant to get the file we’ve worked in on previous sections working against […]

Categories
Technology

Gulp Workflow: Custom Tasks and Auxiliary Functions

The custom tasks use Gulp 3 syntax. You will have to change them to work with Gulp 4 After we’ve created the tasks we need for our project, we can define custom tasks to run one or more of these tasks. In the task below we run the targets in square brackets (clean, copy, fonts […]

Categories
Technology

Gulp Workflow: Serving local content and deploying to Github Pages

Serving content under development and watching for file changes It’s nice to publish to gh-pages when we want but to do so after every change we make to our code (CSS, JS or HTML) gets old really quickly. Instead we create two ways to serve content from a local web server The first one serves […]

Categories
Technology

Gulp Workflow: FIle Management

Now for what, to me, is the most tedious part of the workflow… copying things around and doing housekeeping on the files I’m working with. This is easier now since I don’t have to create directories (did that already) or move things around (only copy) so we set up tasks to copy sets of files […]

Categories
Technology

Gulp Workflow: Polymer Specific Tasks

Vulcanize and Crisper are Polymer specific tasks that deal with the way web component works (and make puns on the name Polymer too 🙂 ) Vulcanize will combine all elements in elements.html and produce a single file. This is the same as a concatenate task except that it understands Polymer way of doing things We […]