# Kibana Optimizer not triggering on page refresh with changes

**URL:** <https://discuss.elastic.co/t/kibana-optimizer-not-triggering-on-page-refresh-with-changes/173226>\
**Category:** Kibana\
**Created:** [March 20, 2019, 9:19pm UTC](https://discuss.elastic.co/t/kibana-optimizer-not-triggering-on-page-refresh-with-changes/173226 "2019-03-20T21:19:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Soules](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_soules/32/42468_2.png) [@Mark\_Soules](https://discuss.elastic.co/u/Mark_Soules)\
**Post date:** [March 20, 2019, 9:19pm UTC](https://discuss.elastic.co/t/kibana-optimizer-not-triggering-on-page-refresh-with-changes/173226/1 "2019-03-20T21:19:36Z")

</div>

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:

```auto
  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.

```auto
  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.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [March 20, 2019, 9:33pm UTC](https://discuss.elastic.co/t/kibana-optimizer-not-triggering-on-page-refresh-with-changes/173226/2 "2019-03-20T21:33:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mark\_Soules](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_soules/32/42468_2.png) [@Mark\_Soules](https://discuss.elastic.co/u/Mark_Soules)\
**Post date:** [March 21, 2019, 12:33pm UTC](https://discuss.elastic.co/t/kibana-optimizer-not-triggering-on-page-refresh-with-changes/173226/3 "2019-03-21T12:33:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [March 22, 2019, 9:56pm UTC](https://discuss.elastic.co/t/kibana-optimizer-not-triggering-on-page-refresh-with-changes/173226/4 "2019-03-22T21:56:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mark\_Soules](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_soules/32/42468_2.png) [@Mark\_Soules](https://discuss.elastic.co/u/Mark_Soules)\
**Post date:** [March 25, 2019, 5:19pm UTC](https://discuss.elastic.co/t/kibana-optimizer-not-triggering-on-page-refresh-with-changes/173226/5 "2019-03-25T17:19:27Z")

</div>

doesn't seem to produce any different results.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 22, 2019, 5:19pm UTC](https://discuss.elastic.co/t/kibana-optimizer-not-triggering-on-page-refresh-with-changes/173226/6 "2019-04-22T17:19:29Z")

</div>

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