Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

Viewing Gulp tasks from the command line

Posted: March 24, 2016
Written by: Saints At Play
Category: Gulp

There's no denying that front-end development workflow has been improved greatly with tasks runners such as Grunt and Gulp.

Here's a nice little tip on being able to view all Gulp related tasks directly from the command line...

More »

Suppressing JSHint mixed spaces and tabs warning

Posted: March 24, 2016
Written by: Saints At Play
Category: Gulp

If you've been using JSHint for an extended period of time you may have encountered warnings being printed to the console akin to the following:

scripts.js: line 23, col 1, Mixed spaces and tabs.
scripts.js: line 44, col 1, Mixed spaces and tabs.

This warning occurs as JSHint will not allow spaces and tabs to be used together.

Switching this off is quite easy...

More »

Resolving Gulp libsass error

Posted: April 29, 2015
Written by: Saints At Play
Category: Gulp

If you've recently updated the Gulp task runner program you might encounter the following error with a previously working installation of gulp-sass:

/Users/whatever-your-user-directory-is-called/project-directory/gulp/node_modules/gulp-sass/node_modules/node-sass/sass.js:22
throw new Error('`libsass` bindings not found. Try reinstalling `node-sass`?

We found the following fixed the issue, allowing for Gulp to process Sass as it had done prior to the update.

More »

Resolving Gulp cannot find module errors

Posted: January 27, 2015
Written by: Saints At Play
Category: Gulp

If you're not using a task runner like grunt or gulp to automate your front-end development workflow then you're missing out on some incredibly powerful tools that can help simplify and improve your productivity.

That said this is the world of software development and not everything always runs as smoothly as we might like.

After updating a pre-existing gulp installation we came across the following errors when trying to execute the task runner (that had been working perfectly beforehand).

More »

Latest Tweets