This is an automated email from the ASF dual-hosted git repository.

andytaylor pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-console.git

commit be2898d54639302d45301520c19be701d0df1e17
Author: Grzegorz Grzybek <[email protected]>
AuthorDate: Wed Jul 30 10:12:02 2025 +0200

    [build] With DISABLE_WS=1 webpack will start without hot reload
---
 artemis-console-extension/artemis-extension/app/webpack.config.cjs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/artemis-console-extension/artemis-extension/app/webpack.config.cjs 
b/artemis-console-extension/artemis-extension/app/webpack.config.cjs
index c15e3c5..e16e288 100644
--- a/artemis-console-extension/artemis-extension/app/webpack.config.cjs
+++ b/artemis-console-extension/artemis-extension/app/webpack.config.cjs
@@ -312,6 +312,10 @@ module.exports = (webpackEnv, args) => {
       runtimeChunk: 'single',
     } : {},
     devServer: {
+      hot: !process.env.DISABLE_WS,
+      liveReload: !process.env.DISABLE_WS,
+      // changing to "ws" adds 20+ more modules to webpack-generated bundle
+      webSocketServer: process.env.DISABLE_WS ? false : 'ws',
       static: [
         {
           directory: path.resolve(__dirname, "build"),


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to