jharris4 / html-webpack-tags-plugin

lets you define html tags to inject with html-webpack-plugin
MIT License
255 stars 31 forks source link

Support for hot reloading #17

Closed chinchang closed 6 years ago

chinchang commented 6 years ago

Can this plugin support hot reloading? For example, for a CSS asset, it could dynamically replace the link tags.

jharris4 commented 6 years ago

The primary purpose of this plugin is to support including (static) assets that are not part of your regular source code.

If you want to use hot reloading, you should just place the assets inside your regular source directories, and let webpack handle the inclusion (and hot reloading if desired).

I'm closing this issue, but feel free to leave additional comments if you need more clarification