Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list files changed #173

Open
dylang opened this issue Feb 14, 2017 · 2 comments
Open

list files changed #173

dylang opened this issue Feb 14, 2017 · 2 comments

Comments

@dylang
Copy link

dylang commented Feb 14, 2017

It would be nice to know what files thinks have changed. This can help debug issues where changing a file doesn't reload, or when it reloads without changing a file.

@glenjamin
Copy link
Collaborator

Seems like a reasonable suggestion to me, PRs welcome.

@dylang
Copy link
Author

dylang commented Feb 28, 2017

Results of spending too much time trying to figure out how get the changed file:

compiler.plugin('invalid', (filename) => {
    console.log('File changed', filename);
});

Now that I know how to do this, it would be nice if webpack-hot-middleware handled it, but not required.

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

No branches or pull requests

2 participants