I tried to run the watch task by grunt in node.js but it doesn't work for me (this is what I got):  $ grunt watch warning: Maximum call stack size exceeded Use --force to continue.   This is the part of the watch task in the Gruntfile.js:  watch:...
Using a version of what grunt-contrib-watch recommends for compiling only changed files in here: https://github.com/gruntjs/grunt-contrib-watch#compiling-files-as-needed  var changedFiles = Object.create(null);  var onChange = grunt.util._.debounce(f...
I'm using grunt, and I would like to concat all js files in a certain directory, in a specific order (It's an angular js app, so I want to do my module definitions first, followed by everything else).  My grunt concat target looks like:  conc...
I'm trying to use grunt-newer to watch files from a folder and if any is changed, trigger a custom task.  I have something like this in my Gruntfile.js:  grunt.initConfig({    watch: {       widgets: {          files: "/somepath/*.js",...
I am kinda new to grunt and want to use it with Jekyll and some LESS-compiling.  My problem now is, I already have fully functioning LESS-comipiling with live reload and watch task and can build my jekyll site through grunt, but how do I run somethin...
I want to create a common top-level Gruntfile.js configured to watch over less file change. When the less file changes, I want to compile it to css and then livereload the css file in browser. I have the functionality working but I have to duplicate...
I have been spending over an hour on this one, looked through several questions, but the answer is nowhere to be found.  I am running into a problem when using watch on my javascript files. All of the other files are watched and the tasks are execute...
I started today getting used to grunt. I wanted to create a grunt package? script? module? task? which optimizes all images that will be uploaded to a certain folder (uploads/ ... it's a wordpress installation).  After some fiddling, I've cre...
I've been using assemble to create a pattern library. I have a pattern as different files that all get built into one file. I also have a number of pages that are the templates for the HTML.  The problem is that if I change one thing on any of th...
I have a Grunt.js file which utilises "grunt-contrib-watch" and "grunt-exec", the reason for this is some custom functionality I want to utilise the handlebars precompiler in a unique way.  The code:  module.exports = function(grunt)...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.