brocessing / kirby-webpack

:muscle: A Kirby CMS starter-kit with modern frontend tools
MIT License
179 stars 23 forks source link

Is there a way to disable only the browser reload? #70

Closed sigistardust closed 3 years ago

sigistardust commented 3 years ago

Hello there,

When on the checkout page using the Merx Plugin, the browser keeps reloading infinitely. Maybe anyone knows where the problem may be, but for right now, it would be easier to just disable the automatic browser reload. Is there a way to do that?

arnaudjuracek commented 3 years ago

My guess is that Merx writes a file which triggers the reload.

Once you found the file, try adding its path to the devServer.ignored array in main.config.js. If you cannot find the culprit, you should be able to entirely disable the file watching feature by adding something like '**/*' to the same array.

sigistardust commented 3 years ago

Thank you, disabling it entirely worked.