grunt
grunt copied to clipboard
Grunt: The JavaScript Task Runner
Because the cwd needs to be set where the grunt file is located. Is there a way to get the Initial current working directory? In Gulp they have the process.env.INIT_CWD.
Hi Grunt Community 🤗 I've been asked to help make sure that all the OpenJS Foundation project communities are aware that the deadline for our [OpenJS Conference Call for Proposals](https://events.linuxfoundation.org/openjs-world/program/cfp/)...
Problem occurs when grunt.registerTask('clean', ['clean']); is used alongside the grunt.initConfig({ clean: { ... } }); definition. Simple example gruntfile.js ``` javascript module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), clean: {...
If the filepath ends with space character(s) after the extension, the file created by grunt.file.write had problem on Windows. The file was created on the file system. When I tried...
This is especially a problem because it happens when I am typing in the IDE. The issue was also asked on SO but no answers till now: https://stackoverflow.com/questions/57992153/grunt-watch-always-stops-watching-after-fatal-errors-how-to-make-it-retry-af Within some...
Here is my Problem: ``` $grunt icon Running "icon" task Running "clean:icons" (clean) task >> 1 path cleaned. Running "svgmin:icons" (svgmin) task ✔ htdocs/frontend/src/icons/input/arrow-down-s.colors-disabled-hover-defaultMb-disabledMb-white-error.svg (saved 209 B 50%) ✔ htdocs/frontend/src/icons/input/arrow-left-narrow.colors-white-hover.svg...
Due to `grunt-legacy-util` dependency, we are getting the the npm audit issue of [underscore.string Regular expression denial of service vulnerability](https://www.npmjs.com/advisories/745). I created an issue [here for the dependency](https://github.com/gruntjs/grunt-legacy-util/issues/24). But also...
When a user declares an `exec` task, go ahead and register the task at global level, to reduce boilerplate. Similar to how tasks work in `make`.
Could there be a syntax for letting a task tree proceed through errors, so that each child attempts execution regardless of earlier child exit status? Like for getting all linter...
When passing files to a task like `src: ['**/*.{png,jpg,gif,svg}']`, it will ignore all files that don't match the case. Like all files that end with JPG in this example. There...