Boilerplate Gruntfile for Github pages

Grunt and Github pages build

Whilst updating this site, I thought it was time to eat my own dog food by optimising my workflow for the site.

I’ve now setup a Grunt Gruntfile to control building the site locally which includes:

I’ve published this very simple Gruntfile as a gist for others to use. Please feel free to use it to bootstrap your Github page development.

The Gruntfile uses a combination of grunt-jekyll, grunt-contrib-watch and grunt-contrib-connect to re-build the site and reload the page in the browser (without the need to refresh the page).