tettusud / merge-jsons-webpack-plugin

This plugin is used to merge json files into single json file,using glob or file names
https://npmjs.com/package/merge-jsons-webpack-plugin
Apache License 2.0
36 stars 20 forks source link

Emitting json files in watch mode when changes are made to other files #32

Open pshurygin opened 6 years ago

pshurygin commented 6 years ago

Using webpack 4.4.1 and merge plugin 1.0.14 in watch mode. Whenever I change any file in my project (like css, js or html) and incremental rebuild is triggered, json files are also emitted even if no changes were made to them:

Here is an output whenever i change 1 line of css:

95% emitting unnamed compat plugin Hash: 3ad65b9c774505a89aaf Version: webpack 4.4.1 Time: 522ms Built at: 2018-3-29 19:36:58 Asset Size Chunks Chunk Names solomoto.css 756 KiB solomoto [emitted] solomoto solomoto.js 7.75 MiB solomoto [emitted] solomoto en.json 159 KiB [emitted]
es.json 169 KiB [emitted]
ru.json 168 KiB [emitted]
pt-BR.json 170 KiB [emitted]

tettusud commented 6 years ago

Thank you for highlighting the issue, I will fix it soon.

AngeloAvv commented 5 years ago

Hi, are there any news about this problem? I'm facing the same issue reported by @pshurygin