You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 🖥
The text was updated successfully, but these errors were encountered:
Current behaviour 💣
I'm using the following within my dev build in webpack:
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 🖥
The text was updated successfully, but these errors were encountered: