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