Compiling loop?
lukecharle opened this issue · 1 comments
lukecharle commented
Current behaviour 💣
I'm using the following within my dev build in webpack:
new HtmlWebpackPlugin({
filename: `../snippets/script-tags.liquid`,
template: path.resolve(__dirname, '../templates/script-tags.html'),
inject: false,
}),
But this is just running a continue compiling and never stops:
I have even used the basic setup:
new HtmlWebpackPlugin(),
I'm thinking this inserts my new file script-tags.liquid
, which then triggers the watch to run it again thus creating the loop? How could I go about this file getting updated on each watch trigger but not trigger the watch to run again?
Expected behaviour ☀️
Should compile once unless I save a new file.
Reproduction Example 👾
Use the following code above
Environment 🖥
alexander-akait commented
Sorry for delay, can you create reproducible test repo?