grunt-staged2
Run grunt tasks with only those source files staged for code commit. This task is based on the original grunt-staged, but was updated to support Grunt 1.x and update dependencies.
Getting Started
Install the plugin:
npm install -D grunt-staged2
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt;
The "staged" task
The staged task doesn't require any special configuration. To use it, just add staged
as the first argument when running other tasks.
grunt;