I have a problem when I try to overwrite a file with gulp. To make you understand my problem here's an example of what I am trying to do: My project file path:  - Project  |- clients    |- clientBase      |- JS        |- jsexample.js        |- js...
I installed gulp-tag-version, but when I am running the command 'gulp tag v1.1.1', it will not confirm this as a task  var gulp = require('gulp'); var tag_version = require('gulp-tag-version');    gulp.task('tag', func...
I have a very simple grunt task:  module.exports = function(grunt){     grunt.initConfig({         pkg: grunt.file.readJSON('package.json'),         php2html: {             default: {               files: [                 {expand: true, cwd:...
I am creating a small todo app to learn Angular. I am stuck in one place. My task will be listed as list of links. Each time user clicks on it its status should change. So when a user clicks on a task its status becomes, doing. Then in next click it...
I´m using async.js to execute some tasks in a series  async.series([task1,task2,task3,....],    function(error,result){       //Called after everything is finished });   The default event listener only handles the finished event, but I want to track...
I want to check if the file in the pipe is .js or not (it could be .map, .html, ...). And if so, uglifying it before copying it in the correct path.  ? •??•?) I've try something like this (which not working):  gulpfile.js  gulp.src(current +...
I have custom functions that work well when the tasks are defined in the same gruntfile.js but my gruntfile.js now has more than 2000 lines and its becoming hard to maintain. Is it possible to use the functions globally without having to define them...
Gulp stopped working after error in console  [18:26:36] Starting 'sass'...  events.js:174       throw er; // Unhandled 'error' event       ^ Error: src\scss\style.scss Error: property "background-color" must be followed by a &...
I have developed a javascript functionality to approve tasks. To do this I have used the following code:      listitem.set_item('Completed',true);     listitem.set_item('PercentComplete',1);     listitem.set_item('Status','...
I have a Gulp task...  gulp.task('compileJS', function () {     var jsStream = gulp.src(['resources/js/app.js', 'resources/js/assets/**/*.js']);     jsStream.pipe(concat('all.js'))     .pipe(uglify())     .on('erro...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.