grunt icon indicating copy to clipboard operation
grunt copied to clipboard

Grunt: The JavaScript Task Runner

Results 124 grunt issues
Sort by recently updated
recently updated
newest added

Every grunt task I've ever seen looks, essentially, like this: ``` grunt.registerTask('build', function () { const done = this.async(); callSomeModule() .then(() => done()) .catch(error => { grunt.fail.warn(error); done(false); }); });...

*Originally posted in [**grunt-real-favicon issue tracker**](https://github.com/RealFaviconGenerator/grunt-real-favicon/issues/46). grunt-real-favicon maintainer [**think, that it a Grunt, not specific grunt-real-favicon problem**](https://github.com/RealFaviconGenerator/grunt-real-favicon/issues/46#issuecomment-494281224). Also, look at [**Gulp similar bug**](https://github.com/gulpjs/gulp/issues/2324).* ### 1. Summary I upgrade Node.js to...

question

## Where to start if you are new to GRUNT? Can you help me start with using GRUNT (_or is it a legacy tool???_) Is the documentation up to date?...

I have seen so much frustration from grunt users not knowing about --stack. I don't see why you _wouldn't_ want to see a stack trace when an error occurs.

feature
needs research (help?)
input / output

[Ref](https://github.com/gruntjs/grunt-contrib-copy/pull/131) ~~Actually, I may have misinterpreted that issue in my early-morning sleepiness. The issue is really that it won't copy symlinks. I'll update this PR accordingly.~~ Presently, `grunt.file.copy` will take...

fs

...rocesses a broken symlink instead of causing a fatal error. We wrap the call to fs.statSync(filepath).isDirectory() in a try/catch block, then log on the error condition. This changes relates to...

fs

This is needed because `grunt-contrib-watch` calls `complete` on our behalf. We should not call `done` ourself in this case. This change will allow us to check for external completion inside...

The documentation [mentions](http://gruntjs.com/configuring-tasks#custom-filter-function) that one can filter the source files with a custom filter function. After some failed attempts at using that feature I had a look at the source...

If you have a task that is configured to read targets as functions, it works fine. But when `verbose` is enabled, the function gets treated as a src array here:...

ready

An attempt at https://github.com/gruntjs/grunt/issues/1184, really it just pulls out a callback from the run function and uses it for done(). The issue is old and I didn't see an official...