Open dylang opened 7 years ago
Seems like a reasonable suggestion to me, PRs welcome.
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.
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.