I have a Gulp concat watch task setup to concat some JS files:  var sources = [   'public/js/scriptA.js',   'public/js/scriptB.js',   'public/js/scriptC.js',   'public/js/scriptD.js',   'public/js/scriptE.js' ]...
I am trying eslint with gulp.  I have set up a task like this:              gulp.task('lint', function () {                 return gulp.src([             'components/myjs.js'                                   ])                     //...
I'm trying to use laravel elixir and it works fine.  gulpfile.js:  const elixir = require('laravel-elixir');  require('laravel-elixir-vue-2');  elixir(mix => {     mix.sass('app.scss')        .webpack('app.js');...
I am developing a Gulpfile. Can it be made to restart as soon as it changes? I am developing it in CoffeeScript. Can Gulp watch Gulpfile.coffee in order to restart when changes are saved?...
I'm trying to make gulp compile and watch TypeScript files. This is what I have got so far  var tsProject = plugins.typescript.createProject( {     removeComments: false,     target: 'ES5',     module: 'amd',     noExternalResolve...
Basically I want to setup my task so that if I do gulp less --watch it will watch, otherwise just do the build. This is what I have so far:  'use strict';  var gulp = require('gulp'); var less = require('gulp-less'); var gulpi...
I've seen plenty of stackoverflow solutions to this, but none of the appear to work in my scenario.   My gulp watch appears to be watching the file but the output file is not being updated.  Running gulp works okay as it default is set to call th...
I have recently learnt gulp and scripted this gulp script on my local computer, so that it can watch for any changes, and compile my javascripts (in this case, ./js/main.js with its dependencies) into a single file ./js/bundle.js:  var gulp = require...
This is working file if needed to watch 1 by 1 file  sources.srchtmlfile = [ "dev/app/**/*.html", "!dev/app/home/home.html", !dev/app/logon/logon.html" ] gulp.task("src.html", function() {   return gulp.src(sources.srchtml...
For some reason my scripts gulp-watch task endlessly runs in a loop (so much so it's activating the fan on my MBP!), despite the fact I'm using the same gulp file in various other projects.  It just keeps compiling scripts over and over again...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.