Skip to content

Pass changed file into invalid plugin hook#2212

Merged
sokra merged 1 commit intowebpack:masterfrom
danielkcz:plugin-invalid-changed-file
Mar 24, 2016
Merged

Pass changed file into invalid plugin hook#2212
sokra merged 1 commit intowebpack:masterfrom
danielkcz:plugin-invalid-changed-file

Conversation

@danielkcz
Copy link
Copy Markdown
Contributor

Fixes #2021

Just a small non-breaking change so it's possible to write simple plugin like this:

compiler.plugin('invalid', function(fileName, changeTime) {
    console.log('changed file:', fileName, 'at', changeTime);
});

@sokra sokra merged commit 9063bee into webpack:master Mar 24, 2016
@sokra
Copy link
Copy Markdown
Member

sokra commented Mar 24, 2016

Thanks

@danielkcz danielkcz deleted the plugin-invalid-changed-file branch March 24, 2016 23:01
@nikolakanacki
Copy link
Copy Markdown

What is the milestone for this? Installed using npm, this (very, very useful patch) was nowhere to be found.

@jescalan
Copy link
Copy Markdown
Contributor

jescalan commented Aug 3, 2016

It appears as if this still hasn't been shipped. Will it be shipped before webpack 2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants