Doesn't seem to work with webpack-dev-server and FaviconsWebpackPlugin
See original GitHub issueI’m trying to use this package to ensure that favicons-webpack-plugin and html-webpack-plugin will do their thing and inject generated favicon information into my index.htm file, but it doesn’t seem to work.
I’m on the latest webpack and webpack-cli, and I’ve tried webpack-dev-server with and without --hot.
What happens is on the first build of a new webpack-dev-server session, the favicons are generated, but on every subsequent build they are not. This is also the same behavior I get if I don’t use html-webpack-harddisk-plugin.
Interestingly, this problem seems to only apply to favicons. I also use html-webpack-plugin to inject a CSS stylesheet, and that works fine on every build.
I’m not sure where in the process this is going wrong, please let me know if there’s a better place to file this issue.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)

Top Related StackOverflow Question
Hmm @Uzwername, I think I actually gave up on this since it doesn’t affect production builds. I got used to having a blank favicon on my development tab haha.
fixed with the following versions:
html-webpack-plugin 5.x favicons-webpack-plugin 5.x html-webpack-harddisk-plugin 2.x