From 3496beb2f4ea57bd58351941c514d62ef079f56d Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Wed, 12 Dec 2012 10:40:14 -0800 Subject: [PATCH] Remove grunt.file.watchFiles --- tasks/watch.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tasks/watch.js b/tasks/watch.js index 3b8d773..2dcfb86 100644 --- a/tasks/watch.js +++ b/tasks/watch.js @@ -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);