Remove grunt.file.watchFiles
This commit is contained in:
parent
6360a36871
commit
3496beb2f4
@ -73,11 +73,8 @@ module.exports = function(grunt) {
|
|||||||
grunt.log.ok();
|
grunt.log.ok();
|
||||||
var fileArray = Object.keys(changedFiles);
|
var fileArray = Object.keys(changedFiles);
|
||||||
fileArray.forEach(function(filepath) {
|
fileArray.forEach(function(filepath) {
|
||||||
var status = changedFiles[filepath];
|
|
||||||
// Log which file has changed, and how.
|
// Log which file has changed, and how.
|
||||||
grunt.log.ok('File "' + filepath + '" ' + status + '.');
|
grunt.log.ok('File "' + filepath + '" ' + changedFiles[filepath] + '.');
|
||||||
// Add filepath to grunt.file.watchFiles for grunt.file.expand* methods.
|
|
||||||
grunt.file.watchFiles[status].push(filepath);
|
|
||||||
});
|
});
|
||||||
// Reset changedFiles
|
// Reset changedFiles
|
||||||
changedFiles = Object.create(null);
|
changedFiles = Object.create(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user