grunt-debug-files

2.0.0 • Public • Published

grunt-debug-files Build Status

Debug files run through grunt

Useful for checking what files matched the glob or make sure all files exist.

Install

$ npm install --save-dev grunt-debug-files

Usage

Just replace the task name of the task you want to debug with debugFiles or add a new task with the same files object.

 require('load-grunt-tasks')(grunt);

 grunt.initConfig({
-	existingTask: {
+	debugFiles: {
 		dist: {
 			files: {
 				'dist/main.js': 'src/main.js'
 			}
 		}
 	}
 });

-grunt.registerTask('default', ['existingTask']);
+grunt.registerTask('default', ['debugFiles']);

License

MIT © Sindre Sorhus

Package Sidebar

Install

npm i grunt-debug-files

Weekly Downloads

4

Version

2.0.0

License

MIT

Last publish

Collaborators

  • sindresorhus