Kibana Optimizer not triggering on page refresh with changes

I previously worked on plugin development on kibana 5.4 and whenever I started my dev environment with sh bin/kibana --dev --no-ssl I got a message similar to:

  log   [20:54:46.292][info][listening] basePath Proxy running at http://1.2.3.4:5601/asd
optmzr  log  [20:54:46.292][info][status][ui settings] Status changed from uninitialized to disabled - uiSettings.enabled config is set to `false`
server  log  [20:54:46.292][info][optimize] Waiting for optimizer completion
optmzr  log  [20:54:46.292][info][optimize] Lazy optimization of bundles for pluginone, plugintwo, pluginthree, kibana, timelion and status_page ready
optmzr  log  [20:54:46.292][info][optimize] Lazy optimization started
optmzr  log  [20:54:46.292][info] Plugin initialization disabled.
server  log  [20:54:46.292][info][status][plugin:pluginone@1.0.0] Status changed from uninitialized to green - Ready
...
server  log  [20:54:46.292][info][listening] Server running at http://1.2.3.4:5601
server  log  [20:54:46.292][info][ui settings] Status changed from uninitialized to green - Ready
optmzr  log  [20:54:46.292][info][optimize] Lazy optimization success in 75.36 seconds
optmzr  log  [20:54:46.292][info][optimize] Lazy optimization started
optmzr  log  [20:54:46.292][info][optimize] Lazy optimization success in 4.56 seconds
optmzr  log  [20:54:46.292][info][optimize] Lazy optimization started
optmzr  log  [20:54:46.292][info][optimize] Lazy optimization success in 4.95 seconds

And whenever I changed any code inside my plugin and refreshed the page I would get that Lazy optimization started and success message, and kibana would reflect the changes.

Now I am working in a fresh version of kibana 6.2.4.
I get a similar set of messages, but it doesn't trigger a optimization message anytime I change a bit of code.

  log   [20:54:46.292][info][listening] basePath Proxy running at http://1.2.3.4:5601/asd
server  log  [20:54:46.292][info][optimize] Waiting for optimizer to be ready
optmzr  log  [20:54:46.292][info][optimize] Optimization started
optmzr  log  [20:54:46.292][info] Plugin initialization disabled.
server  log  [20:54:46.292][info][status][plugin:kibana@6.2.4] Status changed from uninitialized to green - Ready
...
server  log  [20:54:46.292][info][listening] Server running at http://1.2.3.4:5601
optmzr  log  [20:54:46.292][info][optimize] Optimization success in 56.31 seconds
optmzr  log  [20:54:46.292][info][optimize] Optimization success in 3.27 seconds

I would like to know why my changes aren't triggering the Optimizer to reflect the changes. Any insights would be welcome.

Are you running that command from inside your plugin directory or from the root kibana directory?

I run it from the root kibana directory (without --no-ssl since 6.2.4 doesn't have that tag anymore)

Could you try running it from the root of your plugin instead?

doesn't seem to produce any different results.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.