Questions tagged as 'gulp'

0
answers

How to use gulp to auto copy source files while compiling scss?

I'm using gulp with gulp-sass to generate the build of my css files. I would like to do in SCSS build, source files referenced by @ font-face within the style would be automatically copied to assets / fonts , whereas css would be generated in...
asked by 23.11.2017 / 13:50
0
answers

How to organize gulpfile.js for sass, js, img and html processing?

After a lot of effort and lots of attempts, I was able to write a gulpfile.js that meets my needs for sass build, js >, img and html , however, I'm still having some problems. First we go to the final file, in the sequence I will exp...
asked by 23.11.2017 / 20:04
1
answer

How to use a Gulp file for production and development?

I was researching how to create a Gulp file that understands how to differentiate when it is for production and when it is for development. I found the plugin below, and would you like to know if this is the ideal way to do this differentiation...
asked by 21.02.2017 / 19:44
0
answers

Gulp Concat does not work

Good morning. I am not able to concatenate the AngularJS files using the gulp concat module. I have already tried to change the directory file and it still does not work. The problem is that no error appears to me, it simply does not concatenate...
asked by 19.11.2016 / 16:10
1
answer

Gulp Watch, SASS does not change you

My GULP: var gulp = require('gulp'), sass = require('gulp-ruby-sass'), imagemin = require('gulp-imagemin'), changed = require('gulp-changed'), browserSync = require('browser-sync'), livereload = require('gul...
asked by 11.07.2016 / 21:34
0
answers

graceful-fs node problem

I have a problem with the graceful-fs module. When I run the command in gulp to run the plugins (imagemin, clean) in my project the message:    (node: 4892) fs: re-evaluating native module sources is not   supported.If you are using the gr...
asked by 19.05.2016 / 02:54
0
answers

How can I use gulp-stylus, jeet, and rupture with gulp-load-plugins [closed]

If I use Stylus with Jeet and Rupture, my gulpfile.js would look like this: .pipe(stylus({ use:[prefixer(), jeet(), rupture()], compress: true })) Now, I modularize my Gulp tasks with gulp-load-plugins. And...
asked by 17.05.2016 / 20:14
1
answer

Refusing to install gulp as a dependency of itself

When I run:    npm install --save-dev gulp The error happens: npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i" "gulp" npm ERR! node v6.11.2 npm...
asked by 08.10.2018 / 22:21
2
answers

Gulp Sass does not work

So far everything worked on gulp perfectly, minus the sass. My Code: var sass = require('gulp-ruby-sass'); gulp.task('styles', function(){ gulp.src('./src/scss/**/*.scss') .pipe(sass()) .pipe(gulp.dest('./src/css/')); }) gulp....
asked by 28.01.2015 / 22:07
1
answer

Start php server with livereload with gulp

I started my studies with gulp and I loved livereload, but I only managed with static files like this link . My goal is to start the gulp, however on the embedded php server (localhost -s Localhost: 8000) or on the server with Xampp or Lampp, i...
asked by 18.10.2015 / 19:54