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'm stucked with the problem of watching my Swig.js html templates and compiling them on every change, I use Gulp.js task runner for that purpose. Here is my gulpfile.js:  var gulp = require('gulp'); var myth = require('gulp-myth'...
Besides lazy execution, are Tasks and Promises pretty much the same thing? When I refer to a task, I refer to a class that is in its most basic behavior like the following:  class Task {   constructor(then) {     this.then = then;   }   map(mapper) {...
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 am newbie in Gulp. What I am trying to do is copy the full directory and its files to another folder. The source has this structure source-submodule > app_A > www. I only want to copy the www folder and its subdirectories and files inside. Th...
Hello i have problem about change state after onClick with this function i dont know why this is doesnt work because console.log displayed difference value and i dont know why i cant set the same state.  `doneUndone = (index) => {       console.lo...
I have many js scripts in one folder (scripts/*.js).  How to execute them all from the gulp task (instead of using 'node script.js' many times)?  something like  gulp.task('exec_all_scripts', function () {   gulp.src(path.join(__dirna...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.