Questions tagged as 'gulpjs'

1
answer

How to perform automatic pull with Git?

Imagine that I have an environment for testing a web application, where there is a cloned GitHub repository that goes right inside the server, and any modification in it already results in a real-time modification when the user accesses the same...
asked by 21.12.2014 / 17:50
1
answer

What are Grunt x Gulp's uses and what are the differences?

I've heard a lot about Grunt and Gulp, but I still do not understand what exactly they're up to. my doubts, are as follows: What do they serve? Is there any relationship between them? Can they be compared to bower, for example?...
asked by 12.04.2016 / 12:53
1
answer

Gulp Tasks with Command Line Parameters

Work with a simple task of Gulp , created to perform a deploy in the production environment. In a simplified way, the task is: gulp.task('deploy-prod', function () { return gulp.src('dist/**') .pipe(sftp({ h...
asked by 15.06.2016 / 15:38
2
answers

Gulp + Bower - How to import the components installed by Bower for my final project

I'm starting to manage my components with Bower and I have a question: I use Gulp to perform tasks such as compiling my less files, concatenating javascripts, but since the Bower components are inside the bower_components I do not know how...
asked by 19.07.2015 / 20:41
2
answers

Is there any way to reverse the javascript minification?

Once the file has been mined using, for example, uglifyJS can you make it readable again? If yes, how? obs: I use GulpJS as task runner     
asked by 09.11.2015 / 13:19
1
answer

Gulp insert mined file in index

Introduction I'm implementing the Gulp task automator, everything is going well, minified, concatenated, and optimized files. Problem Now what I lack is to get the mined file (all.min.js) and insert it into my index.html by removing the...
asked by 23.09.2014 / 19:43
1
answer

Gulp Watch JS infinite loop

I'm a new Gulp student, and I made this watch so if my javascripts files change, it runs build-js . But when I run Gulp, it compiles everything right but it keeps running build-js in an infinite loop. What did I do wrong?...
asked by 06.12.2017 / 19:31
1
answer

Can I use GZIP compression on files that have been minified by Gulp or Grunt?

Can I use GZIP compression on files that have been minified by Gulp or Grunt? I wonder if there is a possibility that I have problems with that. Or if I would have an even faster loading on the browser side.     
asked by 09.03.2016 / 15:35
1
answer

How to compile all .less files in a single .css file

I'm trying to configure Gulp in my project, but when I compile the .less files it generates a new .css for each .less, I wanted Gulp to compile all the .less and the result was just a "result.css" . follows my current gulpfile.js below: var gu...
asked by 05.11.2015 / 14:49
1
answer

Problem in task execution with Gulp & SASS?

I'm creating a task that compiles, renames, and simplifies files .scss to .css . My file structure looks like this: assets/ |__ css/ |__ sass/ | |__ uma-pasta/ | | |__ alguns.scss | | |__ arquivos.scss | | |__ vão.sc...
asked by 15.01.2016 / 19:25