hxlniada / webpack-concat-plugin

a plugin to help webpack to concat file and inject to html
https://github.com/hxlniada/webpack-concat-plugin
97 stars 54 forks source link

Support devserver #75

Open MuhammadDicky opened 5 years ago

MuhammadDicky commented 5 years ago

It will be nice if this plugin can support webpack devserver watch.

heppa commented 4 years ago

Dear all, first of all many thanks for this awesome plugin...

To give a little bit more information on this topic, as I would also love to see this: I am using the plugin to concatenate several configurations as I use one code base to generate different product bundles that are configured via a default configuration and a special configuration (application configuration, not webpack configuration).

I would be happy to see that the file is reconcatenated when one of the source files changed => that means, it should be possible to tell webpack to add the source files to the watches instead of the concatenated one.