Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Log home many files have been modified by usemin #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snasc
Copy link

@snasc snasc commented Nov 26, 2014

I made a incremental deployment. But everty .html file will be transmit, even they acctually haven't been modified.

So I done this, the .html file haven't been changed will not be transmit.

@@ -134,6 +134,7 @@ module.exports = function (grunt) {
nonull: true,
filter: 'isFile'
}, fileObj.src);
var realChange = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snasc I would say fileModified as you increment it in if (handler.isFileModified) {}

@stephanebachelier
Copy link
Collaborator

@snasc you should also squash your commits.

@snasc
Copy link
Author

snasc commented Dec 26, 2014

ok, I'll do it.

@snasc
Copy link
Author

snasc commented Dec 26, 2014

@stephanebachelier I've squashed it, and the variable is fileModified now.

@stephanebachelier
Copy link
Collaborator

@snasc can you add a test ?

@stephanebachelier stephanebachelier changed the title Check if the file is really modified Log home many file have been modified by usemin Apr 15, 2015
@stephanebachelier stephanebachelier changed the title Log home many file have been modified by usemin Log home many files have been modified by usemin Apr 15, 2015
@stephanebachelier
Copy link
Collaborator

ping @snasc

Your PR is only about adding some log, - the number of files modified and not the list of file modified -, and (still) missing a test.
I don't see the interest of adding only a log output, but I might be wrong, but unless someone vote for this PR, I will close it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants