Top "Gruntjs" questions

Grunt is a task-based command line build tool and task runner for JavaScript projects.

ngAnnotate - Warning: StringMap expected string key

I get this warning when using Grunt and grunt-ng-annotate. There is no reference in the warning to where the error …

javascript ecmascript-6 gruntjs uglifyjs ng-annotate
Exclude a subdirectory from JSHint in my Gruntfile?

I am running JSHint automatically from a Gruntfile, and would like to exclude my vendor scripts, since lots of them …

gruntjs jshint
How do I remove some javascript during grunt-usemin compilation

I have code that makes it easy and fast to write/test code, that code does not belong in my …

javascript gruntjs grunt-usemin
Running multiple Grunt tasks of the same task type

I need to be able to run multiple tasks of the same type of task within Grunt (grunt-contrib-concat). I've tried …

gruntjs grunt-contrib-concat
Continue certain tasks in grunt even if one fails

Is there a way to configure a sequence of tasks so that specific subsequent ones (I don't want --force on …

javascript gruntjs grunt-contrib-qunit
grunt watch livereload Fatal error: Port 35279 is already in use by another process

I'm trying to use livereload with watch. I keep getting the message "Fatal error: Port 35279 is already in use by …

gruntjs livereload grunt-contrib-watch
How can I make 'grunt less' automatically run autoprefixer?

I have a working Gruntfile with less and autoprefixer. I also have 'grunt watch' working fine. Before I was using …

javascript less gruntjs vendor-prefix
Magento2: After delete pub/static folder and making deploy, no css files found

I searched the web, but found no answer that would work: I use Magento 2 custom theme and when I made …

css gruntjs magento2
grunt-contrib-jshint warning: path must be a string;

I've been trying to use the jshint grunt module to validate my code, but I always get the following error: …

node.js npm gruntjs jshint
Why is the node_modules folder not committed to Git?

When I create an AngularJS project with yo angular it creates a node_modules/ directory but puts that directory in .…

angularjs gruntjs yeoman