...There are a couple of things that sets Gulp apart from Grunt. The first is speed. Gulp uses node streams to group tasks together and process them sequentially in memory. To run four tasks on a group of files in Gulp requires only one write to the disk. With Grunt you would need to configure an input and output for each task resulting in four separate writes. The speed difference is not
#webdev #gulp #nodejs #javascript

Stworzyłem sobie task runnera (z wykorzystaniem gulpa) jednak mam z nim pewne problemy. Czasami nie reaguje na zmiany w pliku *.less. Nie do końca rozumiem jeszcze jak działają strumienie, chciałem tylko utworzyć sobie środowisko do nauki CSSa. Oto kod:



var
```**```
        gulp =        require(
```_```
'gulp'
```_```
),

    less =        require(
```_```
'gulp-less'
```_```
),

        livereload = require(
```_```
'gulp-livereload'
```_```
),

        watch = require (
```_```
'gulp-watch'
```_```
),

        minifyCSS = require(
```_```
'gulp-minify-css'
```_```
),

        autoprefixer = require(
```_```