Getting started with gulp.js

What is Gulp?

You can do bunch of diffrent things with Gulp. If you develop your project with Saas or Less and you need to convert it to CSS you can use Gulp to do it. If you want to minify your CSS and js file to make your website faster you can use Gulp to do it

Glup uses the concept to pipes which take one file and process the file with a plug-in, then process file is passed to another plug-in for processing

First you install the gulp globally

In terminal, you can change directory to the root directory of your project and run the following command to initiate project
npm init
Then you can install Gup as development dependency in your project

Now you create a gulpfile.js where you write you Gulp tasks. You can add the following code to that file

Now you can run the Gulp task log

So this will give you the following output in your terminal